RFR(S): 8146011: sun/management/jmxremote/bootstrap/CustomLauncherTest crash at assert(stack_size)

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Wed Dec 23 08:43:57 UTC 2015


Hi,

This should fix the given issue as it is closer to the original code.
I had replaced
   thread->stack_base() - thread->stack_size() + ((StackShadowPages + StackRedPages + StackYellowPages + StackReservedPages) * vm_page_size())
by
   stack_overflow_limit()
which is supposed to point at the address computed above.

This change reverts this back to
     thread->stack_base() - thread->stack_size() + JavaThread::stack_guard_zone_size() + JavaThread::stack_shadow_zone_size()

Unfortunately I don't have further information about the bug or test to have a closer look.

Please review this change.  Please check it solves the issue reported.
I please need a sponsor.
http://cr.openjdk.java.net/~goetz/webrevs/8146011-fixStack/webrrev.00/

Best regards,
  Goetz.


More information about the hotspot-runtime-dev mailing list