Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8020654 | 8 | Albert Noll | P4 | Resolved | Fixed | b99 |
The -XX:ReservedCodeCacheSize option controls the maximum size of the code cache. There are however built-in limitations to how big the code cache be. For example, on x86 I can successfully run this:
java -XX:ReservedCodeCacheSize=2048m -jar specjbb2013.jar
But this crashes the VM:
java -XX:ReservedCodeCacheSize=2049m -jar specjbb2013.jar
so the limit appears to be 2048MB in this case.
We should verify the specified size handle any "incorrect" values gracefully.
ILW = HLL -> P4
java -XX:ReservedCodeCacheSize=2048m -jar specjbb2013.jar
But this crashes the VM:
java -XX:ReservedCodeCacheSize=2049m -jar specjbb2013.jar
so the limit appears to be 2048MB in this case.
We should verify the specified size handle any "incorrect" values gracefully.
ILW = HLL -> P4
- backported by
-
JDK-8020654 Crash when specifying very large code cache size
-
- Resolved
-