8077203: Avoid unnecessary stripping of package names from FQN's in is_same_class_package() methods

Lois Foltan lois.foltan at oracle.com
Wed Jul 19 15:21:48 UTC 2017

Looks good Harold!

On 7/19/2017 9:17 AM, harold seigel wrote:
> Hi,
> Please review this JDK-10 fix for JDK-8077203.  The fix improves the 
> JVM's is_same_class_package() methods by removing one of them and by 
> changing the implementation of  'is_same_class_package(oop, const 
> Symbol*)' to get the package name for 'this'  from its package entry 
> record, instead of parsing its class name.
> Open Webrev: 
> http://cr.openjdk.java.net/~hseigel/bug_8077203/webrev/index.html
> JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8077203
> The fix was tested with JCK Lang and VM tests, the JTreg hotspot, 
> java/io, java/lang, java/util and other tests, the co-located NSK 
> tests, and with JPRT.
> Thanks, Harold

More information about the hotspot-runtime-dev mailing list