-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b07
frame.hpp is a popular header file (included by 876 out of 1000 HotSpot.o file). It includes method.hpp, which in turn pulls in all the class metadata types such as instanceKlass.hpp, constantPool.hpp, etc.
We can replace the inclusion of method.hpp with a forward declaration of the Method class.
This reduces the number of .o files that include method.hpp from 882 to 586.
HotSpot build time is reduced by more than 2%.
We can replace the inclusion of method.hpp with a forward declaration of the Method class.
This reduces the number of .o files that include method.hpp from 882 to 586.
HotSpot build time is reduced by more than 2%.
- relates to
-
JDK-8260404 jvm_io.h include missing in a number of files
-
- Resolved
-