RFR: Prototype AOTMXBean [v4]

Mark Reinhold mr at openjdk.org
Tue May 6 18:56:41 UTC 2025


On Thu, 1 May 2025 17:37:22 GMT, Mat Carter <macarte at openjdk.org> wrote:

>> /**
>>       * 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();
>
> Mat Carter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed recording time

`AheadOfTimeCacheMXBean` is quite a mouthful. “AOT” is a reasonably standard term of art, and will be familar to anyone using the HotSpot AOT CLI options. So why not `AOTCacheMXBean`?

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

PR Comment: https://git.openjdk.org/leyden/pull/52#issuecomment-2855594566


More information about the leyden-dev mailing list