RFR (XS): 8167995: -Xlog:defaultmethods=debug: lengthy method descriptor triggers "StringStream is re-allocated with a different ResourceMark"

Rachel Protacio rachel.protacio at oracle.com
Tue Oct 25 15:19:42 UTC 2016


Hi,

Thanks for looking - yes, the issue is that both functions are used as 
sub-components of a larger printing function so the RMs should only 
exist at the top level where the stream is created.
Rachel

On 10/24/2016 9:11 PM, Max Ockner wrote:
> Rachel,
> Did you mean to remove both ResourceMarks?
> (I suppose if it passes JPRT then it might not matter)
> Max
> On 10/24/2016 4:17 PM, Rachel Protacio wrote:
>> Hi,
>>
>> Please review this small fix, which removes two nested ResourceMark's 
>> that were causing problems with defaultmethods logging.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8167995
>> Open webrev: http://cr.openjdk.java.net/~rprotacio/8167995.00/
>>
>> Tested with JPRT.
>>
>> Thanks!
>> Rachel
>



More information about the hotspot-runtime-dev mailing list