[9] RFR(XS): 8059559: SIGSEGV at CodeHeap::allocate(unsigned int, bool)

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Oct 2 16:18:37 UTC 2014

This fix is good.

But I want ask why the test did not catch 8059596 problem? Can you add new check for that case?


On 10/2/14 4:49 AM, Tobias Hartmann wrote:
> Hi,
> please review the following patch.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8059559
> Webrev: http://cr.openjdk.java.net/~thartmann/8059559/webrev.00/
> Problem:
> 'CodeCache::heap_available' assumes that with '-XX:TieredStopAtLevel=0' we only use the interpreter. This is wrong
> because we still generate compiled forms of method handle intrinsics (see
> 'SystemDictionary::find_method_handle_intrinsic'). We therefore need to create the non-profiled code heap.
> Solution:
> Change 'CodeCache::heap_available' to create the non-profiled code heap if TieredStopAtLevel=0 is set. I also adapted
> the test ' compiler/codecache/CheckSegmentedCodeCache'.
> Thanks,
> Tobias

More information about the hotspot-compiler-dev mailing list