[9] RFR(S): 8156659: assert(CodeCache::find_blob_unsafe(_pc) == _cb) failed: inconsistent

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Fri Jun 17 12:26:34 UTC 2016


Why aren't other platforms affected?

hotspot/src/cpu/x86/vm/frame_x86.cpp:

frame frame::sender(RegisterMap* map) const {
...
   assert(_cb == CodeCache::find_blob(pc()),"Must be the same");

Best regards,
Vladimir Ivanov

On 6/17/16 1:52 PM, Nils Eliasson wrote:
> Hi,
>
> Please review,
>
> Summary:
> Test is provoking stack overflow errors and is running with
> deoptimzeALot. The recently added method
> "look_for_reserved_stack_annotated_method(...)" will traverse the stack
> and encounter an deoptimized frame that triggers
> "assert(CodeCache::find_blob_unsafe(_pc) == _cb, "inconsistent");". It
> fails on deoptimzed frames where the pc is patched and need to be
> changed to use raw_pc() to work correctly.
>
> Testing:
> Running hotspot_all
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8156659
> Webrev: http://cr.openjdk.java.net/~neliasso/8156659/webrev.02/
>
> Regards,
> Nils Eliasson


More information about the hotspot-compiler-dev mailing list