Possible bug

Christian Thalinger christian.thalinger at oracle.com
Thu Mar 17 05:43:41 PDT 2011


On Mar 14, 2011, at 2:28 PM, Christian Thalinger wrote:
> On Mar 7, 2011, at 10:15 AM, Howard Lovatt wrote:
>> Hi,
>> 
>> I got the following when trying to use CallSites on Stephen Bannasch's
>> latest build (which isn't the latest latest build and therefore this
>> issue might have been found already):
>> 
>> # To suppress the following error report, specify this argument
>> # after -XX: or in .hotspotrc:  SuppressErrorAt=/resourceArea.hpp:73
>> #
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> #  Internal Error
>> (/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/memory/resourceArea.hpp:73),
>> pid=57545, tid=4298117120
>> #  fatal error: memory leak: allocating without ResourceMark
> 
> 
> I haven't seen that one before.  I took a quick look and it seems MethodHandles::verify_*MethodHandle methods could use a ResourceMark.
> 
> I will try to reproduce the assert and file a bug.

Creating a new MutableCallSite object doesn't lead to that assert for me.  Could you send me a testcase (preferably a small one) that fails for your?

-- Christian


More information about the mlvm-dev mailing list