RFR [16] 8248170 Excessive include of compiledMethod, codeCache, javaClasses and systemDictionary

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Jun 23 22:58:16 UTC 2020


Good.

Thanks,
Vladimir

On 6/23/20 3:25 PM, Ioi Lam wrote:
> Yes, I test locally with PCH. I also did all 58 different builds in the mach5 CI, many of those are not using PCH. I 
> even fixed a problem in shenandoah :-)
> 
> Updated webrev in-place (the only change from earlier is in compile.cpp and shenandoahSupport.cpp).
> 
> http://cr.openjdk.java.net/~iklam/jdk16/8248170-fix-includes-compiledMethod-etc.v01/
> 
> Thanks
> - Ioi
> 
> On 6/23/20 2:43 PM, Vladimir Kozlov wrote:
>> Looks good. Did you test a build without PCH?
>>
>> Thanks,
>> Vladimir
>>
>> On 6/23/20 1:10 PM, Ioi Lam wrote:
>>> https://bugs.openjdk.java.net/browse/JDK-8248170
>>> http://cr.openjdk.java.net/~iklam/jdk16/8248170-fix-includes-compiledMethod-etc.v01/
>>>
>>> {compiledMethod, codeCache, javaClasses, systemDictionary}.hpp are unnecessarily included in some popular headers. 
>>> This introduces unnecessary dependencies and slows down compile time.
>>>
>>> slowdebug:
>>> total number of files compiled: 264606 -> 260588 = -1.5%
>>> total number of lines compiled: 76073364 -> 74477347 = -2.1%
>>> size of libjvm.so (internal symbols): 234180296 bytes -> 233129904 bytes = -0.5%
>>>
>>> (I got the statistics by parsing the *.d files in the build directory).
>>>
>>> Thanks
>>> - Ioi
> 


More information about the hotspot-dev mailing list