JDK-7042052 : Xcomp crash with PopSynchronousTest
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs21
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2011-05-05
  • Updated: 2011-07-29
  • Resolved: 2011-05-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 Other
7Fixed hs21Fixed
Description
In the fix for 7009361 I added some logic in deoptimization to adjust interpreted callers by the size of the signature at the call site instead of the size of the callee since they can be different in the presence of invokedynamic.  In our current system things functioned ok without because we tends to leave a lot of extra space on the stack.  There was a bug in the code I added with reduced the value to either 0 or 1 which caused problems in rare cases.  The fix is to correct the grouping to return the proper answer.
The failing test was:
  
  com/sun/jdi/PopSynchronousTest

Comments
EVALUATION Could you please specify full test name next time, it would really help bug verification process. Link to run results could also be helpful to find out vm options to use for reproducing. Although, may be 64bit mode is enough.
10-05-2011

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/dcfb3dede009
05-05-2011