Review Request (S) 8005590: java_lang_Class injected field resolved_constructor appears unused

David Holmes david.holmes at oracle.com
Tue Jan 15 22:19:15 PST 2013


Ship it! :)

I think the constructor is cached in the Java code these days.

David

On 16/01/2013 1:03 AM, Stefan Karlsson wrote:
> http://cr.openjdk.java.net/~stefank/8005590/webrev.00/
>
> This change removes the unused resolved_constructor field, which HotSpot
> injects into java.lang.Class. This saves one word per java.lang.Class
> instance.
>
> This field was used by the old reflection code, which was removed as a
> part of this bug:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7082263
>
> Testing: vm.quick.testlist and footprint_real3-jetty.
>
> thanks,
> StefanK
>


More information about the hotspot-runtime-dev mailing list