Problem with 08/08 BSD port from Stephen, MLVM changes recently?

Christian Thalinger christian.thalinger at oracle.com
Wed Aug 24 07:50:04 PDT 2011


On Aug 24, 2011, at 3:15 AM, Mark Roos wrote:

> In looking for my classDefNotFound bug I tried the latest build I could find for bsd port. 
> 
> The 0609 version worked at least past this point but the 0808 version gave a fatal error 
> 
> #  fatal error: memory leak: allocating without ResourceMark 
> 
> V  [libjvm.dylib+0x22ebd]  VMError::report_and_die()+0x13d 
> V  [libjvm.dylib+0xd1e4]  report_vm_error(char const*, int, char const*, char const*)+0x84 
> V  [libjvm.dylib+0x1f8be]  resource_allocate_bytes(unsigned long)+0x14e 
> V  [libjvm.dylib+0x9f10c7]  methodOopDesc::make_invoke_method(KlassHandle, Symbol*, Symbol*, Handle, Thread*)+0x387 
> V  [libjvm.dylib+0xbebd8d]  SystemDictionary::find_method_handle_invoke(Symbol*, Symbol*, KlassHandle, Thread*)+0x36d 
> V  [libjvm.dylib+0x8e7238]  LinkResolver::lookup_implicit_method(methodHandle&, KlassHandle, Symbol*, Symbol*, KlassHandle, Thread*)+0x108 
> V  [libjvm.dylib+0x8e943e]  LinkResolver::resolve_method(methodHandle&, KlassHandle, Symbol*, Symbol*, KlassHandle, bool, Thread*)+0xc7e 
> V  [libjvm.dylib+0x8ed466]  LinkResolver::linktime_resolve_virtual_method(methodHandle&, KlassHandle, Symbol*, Symbol*, KlassHandle, bool, Thread*)+0x36 
> V  [libjvm.dylib+0x8ee539]  LinkResolver::resolve_virtual_call(CallInfo&, Handle, KlassHandle, KlassHandle, Symbol*, Symbol*, KlassHandle, bool, bool, Thread*)+0x59 
> V  [libjvm.dylib+0x8ee758]  LinkResolver::resolve_invokevirtual(CallInfo&, Handle, constantPoolHandle, int, Thread*)+0x1b8 
> V  [libjvm.dylib+0x6c43ec]  InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code)+0x2ac 
> j  ri.core.rtalk.RtCallSite.sendSmToRtalk([B)Z+79 
> j  ri.experiment2.TestSm$1.run()V+7 
> 
> 
> Are there changes to MLVM that I may need to adapt to? 

Looks like we are missing a ResourceMark somewhere.  Odd thing is that we never hit that problem before.  Is it reproducible?  If yes, do you have a test case to reproduce it?

-- Christian

> 
> mark 
> _______________________________________________
> 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/20110824/e04f4d51/attachment.html 


More information about the mlvm-dev mailing list