Integrated: 8335358: [premain] Explore alternative ways to trigger the end of training run
Mat Carter
macarte at openjdk.org
Sat Nov 23 00:26:33 UTC 2024
On Wed, 11 Sep 2024 21:34:57 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
This pull request has now been integrated.
Changeset: 6e6030b9
Author: Mat Carter <macarte at openjdk.org>
Committer: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/leyden/commit/6e6030b917f1dfcd4ea7c6207ce0626bf5452c3f
Stats: 1254 lines in 52 files changed: 1196 ins; 10 del; 48 mod
8335358: [premain] Explore alternative ways to trigger the end of training run
Reviewed-by: iklam
-------------
PR: https://git.openjdk.org/leyden/pull/21
More information about the leyden-dev
mailing list