[9] RFR (S): 8148940: java/lang/ref/FinalizeOverride.java can time out due to frequent safepointing
Tobias Hartmann
tobias.hartmann at oracle.com
Fri Feb 26 11:59:40 UTC 2016
On 26.02.2016 12:37, Aleksey Shipilev wrote:
> On 02/26/2016 02:16 PM, Tobias Hartmann wrote:
>>
>> On 26.02.2016 11:50, Aleksey Shipilev wrote:
>>> On 02/26/2016 01:47 PM, Tobias Hartmann wrote:
>>>> I still wonder why we then do 2x compilations with ISC enabled? Do
>>>> the bootstrapped invokedynamic call sites invoke that many methods
>>>> compared to the baseline without ISC?
>>>
>>> I think that's because current ISC not only prompts the compilation of
>>> java.lang.invoke infra, but also spins up an anonymous class that holds
>>> the concat stub (to be switched off in a few weeks), which would also
>>> get compiled when hot.
>>
>> Sure but it's surprising that this triggers the compilation of 81
>> additional methods (or 1127 with -Xcomp). I think it makes sense to
>> investigate and see if we can reduce the number of compilations.
>
> Yes, java.lang.invoke infra has that many interesting methods. See my
> comment here:
> https://bugs.openjdk.java.net/browse/JDK-8150717?focusedCommentId=13904458
>
> ...or these:
> http://cr.openjdk.java.net/~shade/8150717/compilation-oob.txt
> http://cr.openjdk.java.net/~shade/8150717/compilation-Xcomp.txt
Okay. Still surprising that all of these are compiled even without -Xcomp since I assume they are only used for bootstrapping.
Best regards,
Tobias
More information about the hotspot-compiler-dev
mailing list