Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide Java stdlib synchronization primitives impelementation details in the trace #516

Open
eupp opened this issue Feb 10, 2025 · 1 comment
Assignees
Milestone

Comments

@eupp
Copy link
Collaborator

eupp commented Feb 10, 2025

Hide from the trace (by default) implementation details of various synchronization primitives from Java stdlib:

  • ReentrantLock
  • ReadWriteLock
  • Future
  • CountDownLatch
  • CyclicBarrier
  • Phaser

To support that, we need to track park and unpark calls in atomic (silent?) sections, and park should always suspend there.

Depends on #501

@eupp eupp changed the title Java stdlib synchronization primitives Hide Java stdlib synchronization primitives impelementation details in the trace Feb 10, 2025
@ndkoval
Copy link
Collaborator

ndkoval commented Feb 10, 2025

@eupp, should we hide all the primitives from java.util.concurrent?

@ndkoval ndkoval assigned eupp and bbrockbernd and unassigned eupp Feb 11, 2025
@ndkoval ndkoval added this to the GPMC: Beta milestone Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants