Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

OpenJ9 doesn't support Perf, don't try to use it #70

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

pshipton
Copy link
Member

Trying to use jdk.internal.perf.Perf may result in an Assertion "Java_sun_misc_Perf_attach unimplemented" or similar. Calling sun.tools.jconsole.LocalVirtualMachine.getAllVirtualMachines() tries to use Perf.

Issue eclipse-openj9/openj9#16719

Trying to use jdk.internal.perf.Perf may result in an Assertion
"Java_sun_misc_Perf_attach unimplemented" or similar. Calling
sun.tools.jconsole.LocalVirtualMachine.getAllVirtualMachines() tries to
use Perf.

Issue eclipse-openj9/openj9#16719

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
@pshipton pshipton requested a review from keithc-ca February 14, 2023 21:12
Copy link
Member

@keithc-ca keithc-ca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same change as tested in ibmruntimes/openj9-openjdk-jdk20#17.

@keithc-ca keithc-ca merged commit 7f57010 into ibmruntimes:openj9 Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants