Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/arguments.cpp @ 11228:e28663a9f5ef
fixed bug in java.util.zip.CRC32.update(int b) interpreter entry stub and re-enabled CRC32 intrinsics
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 06 Aug 2013 18:31:23 +0200 |
parents | 0630959b64e8 |
children | f49ee75d2a8b |
comparison
equal
deleted
inserted
replaced
11227:bd0e589a9a65 | 11228:e28663a9f5ef |
---|---|
2216 | 2216 |
2217 if (!ScavengeRootsInCode) { | 2217 if (!ScavengeRootsInCode) { |
2218 warning("forcing ScavengeRootsInCode non-zero because Graal is enabled"); | 2218 warning("forcing ScavengeRootsInCode non-zero because Graal is enabled"); |
2219 ScavengeRootsInCode = 1; | 2219 ScavengeRootsInCode = 1; |
2220 } | 2220 } |
2221 | |
2222 if (UseCRC32Intrinsics) { | |
2223 // For some yet to be determined reason, enabling CRC32 intrinsics causes | |
2224 // a Graal compiled call to 'static java.util.zip.CRC32.update(int crc, int b)' | |
2225 // to crash the VM | |
2226 warning("disabling CRC32 intrinsics because Graal is enabled"); | |
2227 } | |
2228 // This prevents the flag being set to true by VM_Version::get_processor_features() | |
2229 FLAG_SET_CMDLINE(bool, UseCRC32Intrinsics, false); | |
2230 #endif | 2221 #endif |
2231 | 2222 |
2232 // Need to limit the extent of the padding to reasonable size. | 2223 // Need to limit the extent of the padding to reasonable size. |
2233 // 8K is well beyond the reasonable HW cache line size, even with the | 2224 // 8K is well beyond the reasonable HW cache line size, even with the |
2234 // aggressive prefetching, while still leaving the room for segregating | 2225 // aggressive prefetching, while still leaving the room for segregating |