JDK-7093690 : JSR292: SA-JDI AssertionFailure: Expected raw sp likely got real sp, value was
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs22,hs23
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic,solaris
  • CPU: generic,sparc
  • Submitted: 2011-09-22
  • Updated: 2012-04-11
  • Resolved: 2011-10-22
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 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
Related Reports
Relates :  
Description
HS fails on sparcv9 with next exception:

# ERROR: Test caught an exception: 
# ERROR: sun.jvm.hotspot.utilities.AssertionFailure: Expected raw sp likely got real sp, value was 0xffffffff7e3ff170
# ERROR: 	at sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
# ERROR: 	at sun.jvm.hotspot.runtime.sparc.SPARCFrame.<init>(SPARCFrame.java:196)
# ERROR: 	at sun.jvm.hotspot.runtime.sparc.SPARCFrame.senderForRicochetFrame(SPARCFrame.java:959)
# ERROR: 	at sun.jvm.hotspot.runtime.sparc.SPARCFrame.sender(SPARCFrame.java:574)
# ERROR: 	at sun.jvm.hotspot.runtime.Frame.sender(Frame.java:213)
# ERROR: 	at sun.jvm.hotspot.runtime.Frame.realSender(Frame.java:221)
# ERROR: 	at sun.jvm.hotspot.runtime.VFrame.sender(VFrame.java:119)
# ERROR: 	at sun.jvm.hotspot.runtime.VFrame.javaSender(VFrame.java:146)
# ERROR: 	at sun.jvm.hotspot.jdi.ThreadReferenceImpl.privateFrames(ThreadReferenceImpl.java:218)
# ERROR: 	at sun.jvm.hotspot.jdi.ThreadReferenceImpl.frames(ThreadReferenceImpl.java:183)
# ERROR: 	at vm.mlvm.share.sajdi.SAJDIStackMatchTest.run(SAJDIStackMatchTest.java:79)
# ERROR: 	at vm.mlvm.share.MlvmTest.runMlvmTest(MlvmTest.java:198)
# ERROR: 	at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:136)
# ERROR: 	at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:105)
# ERROR: 	at vm.mlvm.share.sajdi.SAJDIStackMatchTest.main(SAJDIStackMatchTest.java:123)
### TRACE 1: The test took 11367 ms

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/8187c94a9a87
18-10-2011

EVALUATION The ricochet changes 7051798 in the SA forgot to rebias stack pointers: diff -r 098acdf97f09 agent/src/share/classes/sun/jvm/hotspot/runtime/sparc/SPARCFrame.java --- a/agent/src/share/classes/sun/jvm/hotspot/runtime/sparc/SPARCFrame.java +++ b/agent/src/share/classes/sun/jvm/hotspot/runtime/sparc/SPARCFrame.java @@ -956,7 +956,7 @@ map.makeIntegerRegsUnsaved(); map.shiftWindow(sp, youngerSP); boolean thisFrameAdjustedStack = true; // I5_savedSP is live in this RF - return new SPARCFrame(sp, youngerSP, thisFrameAdjustedStack); + return new SPARCFrame(biasSP(sp), biasSP(youngerSP), thisFrameAdjustedStack); } private Frame senderForEntryFrame(RegisterMap regMap)
06-10-2011