Errors on OSX version with loading

John Rose john.r.rose at oracle.com
Thu Jun 30 12:26:50 PDT 2011


Hi Mark.  Did the suggested workaround help?

Note that build b147 includes a fix for 7056328, which is the bug we know about which causes the problem you saw.  Here is where the binaries are available (but not for MacOS):
  http://jdk7.java.net/download.html

A recent mlvm or bsd-port build will also contain a fix for 7056328.

You can make an ad hoc test whether your JVM has the required fix like this:
  $ find $JAVA7X_HOME/. -name libjvm.\* | xargs fgrep -l record_non_bcp_klasses
  /Users/jrose/env/JAVA7X_HOME/./jre/lib/i386/client/libjvm.dylib
  /Users/jrose/env/JAVA7X_HOME/./jre/lib/i386/server/libjvm.dylib

If the fix is present, the output will be non-empty, like the above.  If the fix is not present, the output will be empty.

If you are experiencing the class loading bug in a JVM which contains a fix for 7056328, then there is a further occurrence of 7056328 which is not yet fixed, and I would like to know as much as possible about it.  A JAR with commands to reproduce the bug would be welcome.

Thanks,
-- John

On Jun 29, 2011, at 6:56 PM, John Rose wrote:

> That looks like bug 7056328, or its twin.  Please check if you are using a JVM with that fix included.
> 
> Possible workaround:  Put your RT on -Xbootclasspath.
> 
> -- John
> 
> On Jun 29, 2011, at 6:41 PM, Mark Roos wrote:
> 
>> I have been loading the jvm using a recursive Hanoi and am seeing random errors when the 
>> number of disks exceed 10 ( see below ).  They occur at the same callsite ( a constant call site 
>> followed by an inviokeDynamic) and at a consistent ( about 12) frame depth but on different passes.   
>> Tried this on an April and May version from Stephen with the same result.  We also tried Windows b138 
>> and the latest and neither show the problem. 
>> 
>> Any suggestions of ways I can look for the problem? 
>> 
>> thanks 
>> mark 
>> 
>> java.lang.NoClassDefFoundError: ri/core/rtalk/RtObject 
>>         at java.lang.invoke.MethodHandle.invokeExact(MethodHandle.java) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::2) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::28) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::19) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::28) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::28) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::28) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::28) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::28) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::19) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::19) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::28) 
>>         at ri.pbc.Class/1349737121.invoke(RtTestCases testHanoiMove:from:to:temp::19) 
>>         at ri.pbc.Class/1954691146.invoke(RtTestCases testHanoi::7) 
>>         at ri.experiment2.Test.executeMhTest(Test.java:389) 
>>         at ri.experiment2.Test.testImageLoad(Test.java:430) 
>>         at ri.experiment2.Test.main(Test.java:28)_______________________________________________
>> mlvm-dev mailing list
>> mlvm-dev at openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
> 
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110630/6d2fac46/attachment.html 


More information about the mlvm-dev mailing list