OpenJDK / jdk8 / jdk8 / hotspot
changeset 5792:8b81451dc7f7
8022395: java.util.zip.ZipException: Not in GZIP format in JT_JDK/test/java/util/zip/GZIP tests
Reviewed-by: kvn, iveresov
author | twisti |
---|---|
date | Thu, 16 Jan 2014 16:18:34 -0800 |
parents | 12ad8db39f76 |
children | 3585183c191a |
files | src/cpu/x86/vm/c1_LIRGenerator_x86.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp Tue Jan 14 09:44:45 2014 +0100 +++ b/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp Thu Jan 16 16:18:34 2014 -0800 @@ -941,6 +941,8 @@ case vmIntrinsics::_updateCRC32: { LIRItem crc(x->argument_at(0), this); LIRItem val(x->argument_at(1), this); + // val is destroyed by update_crc32 + val.set_destroys_register(); crc.load_item(); val.load_item(); __ update_crc32(crc.result(), val.result(), result);