Integrated: 8356572: [premain] Add management MXBean for AOT

Mat Carter macarte at openjdk.org
Thu May 8 20:06:12 UTC 2025


On Wed, 2 Apr 2025 23:17:30 GMT, Mat Carter <macarte at openjdk.org> wrote:

> Adding AOTCacheMXBean as per JBS issue
> 
> 
>     /**
>       * Returns the string representing the current AOT mode of
>       * operation.
>       *
>       * @return the string representing the current AOT mode.
>       */
>      public String getMode();
> 
>      /**
>       * Tests if a recording is in progress.
>       *
>       * @return {@code true} if a recording is in progress; {@code false} otherwise.
>       */
>      public boolean isRecording();
> 
>      /**
>       * If a recording is in progress or has been completed, then returns the duration in milliseconds
>       *
>       * @return duration of the recording in milliseconds.
>       */
>      public long getRecordingDuration();
> 
>      /**
>       * If a recording is in progress, then stops the recording.
>       *
>       * @return {@code true} if a recording was stopped; {@code false} otherwise.
>       */
>      public boolean endRecording();

This pull request has now been integrated.

Changeset: fb6d97f2
Author:    Mat Carter <macarte at openjdk.org>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.org/leyden/commit/fb6d97f21476bb06f6dacc4d3506105fee4c8d48
Stats:     455 lines in 11 files changed: 453 ins; 0 del; 2 mod

8356572: [premain] Add management MXBean for AOT

Reviewed-by: kvn

-------------

PR: https://git.openjdk.org/leyden/pull/52


More information about the leyden-dev mailing list