[9] RFR(S): 8060196: CodeHeap for 'non-nmethods' is full
Tobias Hartmann
tobias.hartmann at oracle.com
Mon Oct 13 13:02:00 UTC 2014
Hi,
please review the following patch.
Bug: https://bugs.openjdk.java.net/browse/JDK-8060196
Webrev: http://cr.openjdk.java.net/~thartmann/8060196/webrev.00/
Problem:
CodeCache::is_full() returns true if the non-nmethod code heap is full but we
can still store non-nmethod code in the non-profiled code heap and therefore
should not disable compilation (see comment 'fallback solution' in
CodeCache::allocate).
Solution:
Adapt CodeCache::is_full() to not check the non-nmethod code heap. I also fixed
the CodeHeap is full warning to suggest increasing the non-profiled code heap.
Thanks,
Tobias
More information about the hotspot-compiler-dev
mailing list