RFR: Prototype AOTMXBean [v4]

Mat Carter macarte at openjdk.org
Thu May 1 17:37:22 UTC 2025


> /**
>       * 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

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

Changes:
  - all: https://git.openjdk.org/leyden/pull/52/files
  - new: https://git.openjdk.org/leyden/pull/52/files/e6e45373..436b5901

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=03
 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=02-03

  Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/leyden/pull/52.diff
  Fetch: git fetch https://git.openjdk.org/leyden.git pull/52/head:pull/52

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


More information about the leyden-dev mailing list