RFR (T): 8241852: Cleanup error message generation in LinkResolver::resolve_field

Claes Redestad claes.redestad at oracle.com
Mon Mar 30 16:45:13 UTC 2020


On 2020-03-30 18:34, Daniel D. Daugherty wrote:
> 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.
> 

Will do.

> 
> Thumbs up! I concur that this is a trivial fix.

Thanks!

/Claes


More information about the hotspot-runtime-dev mailing list