[9] RFR (S): 8148940: java/lang/ref/FinalizeOverride.java can time out due to frequent safepointing

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Feb 26 11:37:07 UTC 2016

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:

...or these:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160226/716b8c58/signature-0001.asc>

More information about the hotspot-compiler-dev mailing list