JDK-8197954 : Remove unnecessary intermediary APIs from AppCDS implementation
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-02-14
  • Updated: 2018-05-11
  • Resolved: 2018-05-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b13Fixed
Related Reports
Blocks :  
Duplicate :  
Relates :  
Description
In JDK9 and before, AppCDS was implemented in the closed repo. There was an intermediary API that connected the class loading code between the open and closed repos:

http://hg.openjdk.java.net/jdk9/hs/hotspot/file/c68024d52834/src/share/vm/classfile/classLoaderExt.hpp
http://hg.openjdk.java.net/jdk9/hs/hotspot/file/c68024d52834/src/share/vm/classfile/sharedClassUtil.hpp
http://hg.openjdk.java.net/jdk9/hs/hotspot/file/c68024d52834/src/share/vm/classfile/systemDictionary_ext.hpp
http://hg.openjdk.java.net/jdk9/hs/hotspot/file/c68024d52834/src/share/vm/classfile/systemDictionaryShared.hpp

Some of these intermediary APIs are no longer necessary and should be removed, so that the code is more readable.
Comments
Do this after JDK-8194759 to avoid merge conflicts.
14-02-2018