Request for review 7177409: Perf regression in JVM_GetClassDeclaredFields after generic signature changes

Jiangli Zhou jiangli.zhou at
Tue Jun 19 10:32:09 PDT 2012


Please review the following webrev that address the performance 
regression in JVM_GetClassDeclaredFields with very large class.

In fieldDescriptor::generic_signature(), it now returns NULL immediately 
if the access_flags indicates the field has no generic signature. This 
avoids iterating though the fields unnecessarily. Mikael Gerdin has 
confirmed the change resolves the performance issue for  
JVM_GetClassDeclaredFields (thanks, Mikael!).



More information about the hotspot-runtime-dev mailing list