-
Bug
-
Resolution: Won't Fix
-
P3
-
hs25, 9
-
sparc_64
-
solaris
Exception in thread "main" sun.jvm.hotspot.utilities.AssertionFailure: this is missing
at sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
at sun.jvm.hotspot.jdi.StackFrameImpl.thisObject(StackFrameImpl.java:130)
at nsk.sajdi.StackFrame.thisObject.thisobj001.checkFrame(thisobj001.java:190)
at nsk.sajdi.StackFrame.thisObject.thisobj001.runIt(thisobj001.java:152)
at nsk.sajdi.StackFrame.thisObject.thisobj001.run(thisobj001.java:26)
at nsk.sajdi.StackFrame.thisObject.thisobj001.main(thisobj001.java:21)
The test doesn't fail with -Xmixed and -XX:+TieredCompilation, but reliably fails both with -XX:-TieredCompilation or -XX:+TieredCompilation -XX:TieredStopAtLevel=1. The failure mode is slightly different though: with C2 it fails on frame #3 and with C1 it fails on frame #4.
Diagnostic output:
-XX:-TieredCompilation:
frame #3
values.size = 0
location: nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass:239
thread: instance of nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass(name='testedThread', id=0)
Method methodArgsAndForVars([I)J@0xffffffff6b80f4d8
bci: 9
...
Exception in thread "main" sun.jvm.hotspot.utilities.AssertionFailure: this is missing
-XX:+TieredCompilation -XX:TieredStopAtLevel=1:
frame #3
thisObj: instance of nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass(name='testedThread', id=0)
equals: true
thread: instance of nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass(name='testedThread', id=0)
equals: true
location: nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass:243
method: nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass.methodArgsAndForVars(int[])
name: methodArgsAndForVars
signature: ([I)J
isStatic: false
... found expected method #9
frame #4
values.size = 0
location: nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass:227
thread: instance of nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass(name='testedThread', id=0)
Method methodArgsAndVars(IZB)S@0xffffffff7b80c8a8
bci: 92
Exception in thread "main" sun.jvm.hotspot.utilities.AssertionFailure: this is missing
at sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
at sun.jvm.hotspot.jdi.StackFrameImpl.thisObject(StackFrameImpl.java:130)
at nsk.sajdi.StackFrame.thisObject.thisobj001.checkFrame(thisobj001.java:190)
at nsk.sajdi.StackFrame.thisObject.thisobj001.runIt(thisobj001.java:152)
at nsk.sajdi.StackFrame.thisObject.thisobj001.run(thisobj001.java:26)
at nsk.sajdi.StackFrame.thisObject.thisobj001.main(thisobj001.java:21)
The test doesn't fail with -Xmixed and -XX:+TieredCompilation, but reliably fails both with -XX:-TieredCompilation or -XX:+TieredCompilation -XX:TieredStopAtLevel=1. The failure mode is slightly different though: with C2 it fails on frame #3 and with C1 it fails on frame #4.
Diagnostic output:
-XX:-TieredCompilation:
frame #3
values.size = 0
location: nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass:239
thread: instance of nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass(name='testedThread', id=0)
Method methodArgsAndForVars([I)J@0xffffffff6b80f4d8
bci: 9
...
Exception in thread "main" sun.jvm.hotspot.utilities.AssertionFailure: this is missing
-XX:+TieredCompilation -XX:TieredStopAtLevel=1:
frame #3
thisObj: instance of nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass(name='testedThread', id=0)
equals: true
thread: instance of nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass(name='testedThread', id=0)
equals: true
location: nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass:243
method: nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass.methodArgsAndForVars(int[])
name: methodArgsAndForVars
signature: ([I)J
isStatic: false
... found expected method #9
frame #4
values.size = 0
location: nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass:227
thread: instance of nsk.sajdi.StackFrame.thisObject.thisobj001aTestedClass(name='testedThread', id=0)
Method methodArgsAndVars(IZB)S@0xffffffff7b80c8a8
bci: 92
Exception in thread "main" sun.jvm.hotspot.utilities.AssertionFailure: this is missing