RFR 8068687: Remove meta-index support and cleanup hotspot code for rt.jar etc in non-modular jdk image

Mandy Chung mandy.chung at oracle.com
Thu Feb 12 20:21:45 UTC 2015

On 2/12/15 6:49 AM, harold seigel wrote:
> Hi,
> Please review this fix for bug 8068687.  The fix removes the code that 
> implements meta-index support and rt.jar related processing, because 
> this code is no longer used.  Removing meta-index support may allow 
> removal of LazyClassPathEntry support.  I will look into that in a 
> separate bug.

I was wondering that. It's fine to separate it from this bug.

> Open webrev: http://cr.openjdk.java.net/~hseigel/bug_8068687_metaindex/

classLoader.cpp - there are references to rt.jar that I think should be 

321   // Check whether zip name ends in "rt.jar"
1322   // This will match other archives named rt.jar as well, but this is
1323   // only used for debugging.
1324   return string_ends_with(zip->name, "rt.jar");

1352     // We stop at rt.jar, unless it is the first bootstrap path entry
1353     if (e->is_jrt() && e != _first_entry) break;

Found rt.jar in comments - probably to take out those.

2601:  // of safe & unsafe memory.  Otherwise fails in a CTW of rt.jar

3125:    // Happens in a CTW of rt.jar, 320-341, no extra flags


More information about the hotspot-runtime-dev mailing list