eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 722 forks source link

(0.49) Fix TimeUtilities thread number counting synchronization #20659

Open JasonFengJ9 opened 1 day ago

JasonFengJ9 commented 1 day ago

Fix TimeUtilities thread number counting synchronization

Use AtomicInteger to update the thread number atomically.

Cherry-pick

Signed-off-by: Jason Feng fengj@ca.ibm.com