RFR (T): 8241852: Cleanup error message generation in LinkResolver::resolve_field
Daniel D. Daugherty
daniel.daugherty at oracle.com
Mon Mar 30 16:34:18 UTC 2020
On 3/30/20 12:27 PM, Claes Redestad wrote:
> Hi,
>
> a couple of places in LinkResolver::resolve_field where we allocate
> ResourceMark and stringStream in a wider scope than necessary. Narrowing
> down the scope where they are declared in a similar way as done
> consistently in all other places in LinkResolver is a small and trivial
> optimization:
>
> http://cr.openjdk.java.net/~redestad/8241852/open.00/
src/hotspot/share/interpreter/linkResolver.cpp
Please update the copyright year before you push.
Thumbs up! I concur that this is a trivial fix.
Dan
>
> Thanks!
>
> /Claes
>
>
>
More information about the hotspot-runtime-dev
mailing list