Request for review (XS): JDK-8011952: Missing ResourceMarks in TraceMethodHandles

Krystal Mo krystal.mo at oracle.com
Thu Apr 11 02:26:49 PDT 2013


Thank you, Staffan!

- Kris

On 04/11/2013 02:24 AM, Staffan Larsen wrote:
> Looks good.
>
> /Staffan
>
> On 11 apr 2013, at 05:38, Krystal Mo <krystal.mo at oracle.com> wrote:
>
>> Hi everybody,
>>
>> Could I have a review for this small change, please?
>>
>> Webrev: http://cr.openjdk.java.net/~kmo/8011952/webrev.00/
>> CR: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8011952
>>
>> Description: (copied from CR)
>>
>> There are some TraceMethodHandles logic that uses Symbol::as_C_string(), but miss putting a ResourceMark in the appropriate scope, triggering assertions in debug builds when using -XX:+TraceMethodHandles.
>>
>> Testing:
>>
>> Testing with JPRT.
>> Hand tested some programs using MethodHandles with VM flags: -XX:+TraceMethodHandles -XX:+Verbose, all of them hit assertion before change and pass after the change.
>>
>> Thanks,
>> Kris
>>



More information about the hotspot-runtime-dev mailing list