RFR: Prototype AOTMXBean [v2]
Mat Carter
macarte at openjdk.org
Thu May 1 00:23:29 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 three additional commits since the last revision:
- Merge pull request #3 from macarte/macarte-aotbean-mgmt
Moved AOT MXBean from java.lang.management to jdk.management
- Removed local test code from previous commit
- Moved the AOT bean from java.lang.management to jdk.management
-------------
Changes:
- all: https://git.openjdk.org/leyden/pull/52/files
- new: https://git.openjdk.org/leyden/pull/52/files/bbcc8613..fb71d522
Webrevs:
- full: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=01
- incr: https://webrevs.openjdk.org/?repo=leyden&pr=52&range=00-01
Stats: 414 lines in 10 files changed: 183 ins; 228 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