Skip to content

Selectively acquire parked class is event is hook#23485

Open
tajila wants to merge 1 commit intoeclipse-openj9:masterfrom
tajila:opt
Open

Selectively acquire parked class is event is hook#23485
tajila wants to merge 1 commit intoeclipse-openj9:masterfrom
tajila:opt

Conversation

@tajila
Copy link
Contributor

@tajila tajila commented Mar 11, 2026

In the park path, currently the pak class is looked up in all cases. This requires a stackwalk which may be expensive if park/unpark is done frequently. This PR modifies the behaviour such that park is only called if the unpark event is hooked.

@tajila
Copy link
Contributor Author

tajila commented Mar 11, 2026

jenkins test sanity xlinux jdk17,jdk21

In the park path, currently the pak class is looked up in all cases.
This requires a stackwalk which may be expensive if park/unpark is done
frequently. This PR modifies the behaviour such that park is only called
if the unpark event is hooked.

Signed-off-by: Tobi Ajila <atobia@ca.ibm.com>
@tajila
Copy link
Contributor Author

tajila commented Mar 12, 2026

jenkins test sanity xlinux jdk21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant