RFR: 8080: Add support for enabling jfr on native images [v3]
Alex Macdonald
aptmac at openjdk.org
Tue Jun 13 14:13:53 UTC 2023
> This PR addresses JMC-8080 [[0]](https://bugs.openjdk.org/browse/JMC-8080), in which it would be nice to add support for enabling flight recorder on GraalVM native images.
>
> Currently, trying to use the flight recording wizard on a connected native image ends up with an error dialog:
> 
>
> The proposed solution here adds checks to determine if the vm is of type Substrate VM, and check if there is a flightrecording mbean registered.
>
> [0] https://bugs.openjdk.org/browse/JMC-8080
Alex Macdonald has updated the pull request incrementally with one additional commit since the last revision:
run mvn:spotless apply
-------------
Changes:
- all: https://git.openjdk.org/jmc/pull/491/files
- new: https://git.openjdk.org/jmc/pull/491/files/6b658b78..74b9fac4
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jmc&pr=491&range=02
- incr: https://webrevs.openjdk.org/?repo=jmc&pr=491&range=01-02
Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 mod
Patch: https://git.openjdk.org/jmc/pull/491.diff
Fetch: git fetch https://git.openjdk.org/jmc.git pull/491/head:pull/491
PR: https://git.openjdk.org/jmc/pull/491
More information about the jmc-dev
mailing list