RFR: 8231895: Avoid String allocations in JVM_FindLoadedClass
Claes Redestad
claes.redestad at oracle.com
Sun Oct 6 19:34:10 UTC 2019
On 2019-10-06 04:32, David Holmes wrote:
> Looks reasonable.
Thanks for reviewing, David,
> Minor nit:
>
> ! const char* str = java_lang_String::as_utf8_string(h_name());
>
> You don't need the const (as it isn't what as_utf8_string returns), then
> you won't need to cast it away when you initialize p.
sure, I'll update to remove the const before push (and run a sanity
tier1 test overnight)
/Claes
More information about the hotspot-runtime-dev
mailing list