review request (XS): 6728025 LinkResolver missing ResourceMarks

Y. Srinivas Ramakrishna y.s.ramakrishna at oracle.com
Wed May 4 21:37:17 PDT 2011


Hi John -- Help me here in case I am missing something
subtle: Why not just move all those local ResourceMark's up into the
outermost scope of each of those methods? I see no loops
anywhere and I don't expect that doing a resource mark in
each if is any better than just doing it at the top of each
method once and be done?

-- ramki

On 5/4/2011 7:10 PM, John Coomes wrote:
> I'd appreciate reviews of a simple fix that adds ResourceMarks to a
> number of error handling branches in LinkResolver:
>
> http://cr.openjdk.java.net/~jcoomes/6728025-linkresolver-resourcemark/
>
> -John



More information about the hotspot-runtime-dev mailing list