RFR(M): 8008555: Debugging code in compiled method sometimes leaks memory
Vladimir Kozlov
vladimir.kozlov at oracle.com
Fri Feb 22 09:13:05 PST 2013
Looks good, except next check (should it be >= )?
+ bool is_comment() const { return _offset > 0; }
Vladimir
On 2/22/13 7:34 AM, Roland Westrelin wrote:
> Vladimir,
>
>> Virtual methods add vtable field to CodeString. I think we can have _offset in CodeString instead and use it to distinguish comments (_offset >= 0). It will simplify the code since you don't need CodeComment class.
>
> Thanks for the suggestion. What about this:
>
> http://cr.openjdk.java.net/~roland/8008555/webrev.01/
>
> Roland.
>
More information about the hotspot-compiler-dev
mailing list