RFR: 8335358: [premain] Explore alternative ways to trigger the end of training run [v17]
duke
duke at openjdk.org
Fri Nov 22 21:50:33 UTC 2024
On Fri, 22 Nov 2024 19:27:16 GMT, Mat Carter <macarte at openjdk.org> wrote:
>> AOT training can be ended using either
>>
>> - -XX: AOTEndTrainingOnMethodEntry =Hello.someMethod [same syntax as CompileOnly]
>> - -XX: AOTEndTrainingOnMethodEntry =Hello.someMethod,Hello.someOtherMethod,count=42
>> - jcmd <pid> AOT.end_training
>>
>> Also added programmatic hooks to System class:
>> - bool System.AOTIsTraining()
>> - void System.AOTEndTraining()
>>
>> supports arm64 and x64
>>
>> note: the AOTEndTrainingOnMethodEntry is ignored when not recording
>>
>> JBS Issue: https://bugs.openjdk.org/browse/JDK-8335358
>
> Mat Carter has updated the pull request incrementally with one additional commit since the last revision:
>
> Added programmatic AOT(Is|End)Training calls to System class
@macarte
Your change (at version 62afc30608a81afdb4067a7ece8841329b01b2f8) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/leyden/pull/21#issuecomment-2494919970
More information about the leyden-dev
mailing list