158 Commits

Author SHA1 Message Date
Anton Artemov
a3f07b94cb 8366659: Addressed reviewer's comment. 2026-01-26 15:37:53 +01:00
Anton Artemov
d01b26a972 8366659: Changed condition on when to post an event. 2026-01-23 09:55:31 +01:00
Anton Artemov
eb5afa252a 8366659: Fixed whitespaces. 2026-01-22 12:04:19 +01:00
Anton Artemov
72b583ab1e 8366659: Addressed reviewer's comments. 2026-01-22 11:37:51 +01:00
Anton Artemov
20a81450dc 8366659: Addressed reviewers' comments. 2026-01-21 14:20:42 +01:00
Anton Artemov
f672d15574 8366659: Fixed whitespace. 2026-01-20 10:53:01 +01:00
Anton Artemov
594b8769fa 8366659: Addressed reviewer's comments. 2026-01-20 10:45:18 +01:00
Anton Artemov
0fd6bc7dce 8366659: Addressed reviewers' comments, added comments, renamed tests. 2026-01-19 12:14:13 +01:00
Anton Artemov
949db95e45 8366659: Modified the comment. 2026-01-19 11:05:14 +01:00
Anton Artemov
95cf01f614 8366659: Modified comment. 2026-01-19 10:51:55 +01:00
Anton Artemov
21b8321466 8366659: Fixed year in the copyright. 2026-01-07 10:31:35 +01:00
Anton Artemov
132a43a49e 8366659: Removed ClearSuccOnSuspend 2025-12-19 13:23:33 +01:00
Anton Artemov
068f3855b2 8366659: Fixed liveness problem. 2025-12-19 11:33:40 +01:00
Anton Artemov
ddab88b3f7 8366659: Fixed build problem. 2025-12-15 14:38:03 +01:00
Anton Artemov
05b181ba43 8366659: Changed the way how notify_internal works if JVMTI monitor waited event allowed. 2025-12-15 14:08:57 +01:00
Anton Artemov
d66eae7842 Merge remote-tracking branch 'origin/master' into JDK-8366659-OM-wait-suspend-deadlock 2025-12-15 12:59:50 +00:00
Anton Artemov
355755d35d 8366671: Refactor Thread::SpinAcquire and Thread::SpinRelease
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: coleenp, kbarrett, dholmes, aboldtch
2025-12-08 16:07:01 +00:00
Anton Artemov
322fc0e5bd 8366659: Fixed whitespace error. 2025-11-20 16:25:45 +01:00
Anton Artemov
301999cbf8 8366659: Refactoring. 2025-11-20 16:14:34 +01:00
Anton Artemov
8c82d39c34 8366659: Added bool arg to notify_contended_enter 2025-11-18 15:31:39 +01:00
Anton Artemov
31482ba499 Merge remote-tracking branch 'origin/master' into JDK-8366659-OM-wait-suspend-deadlock 2025-11-10 12:56:43 +00:00
Fredrik Bredberg
3930b1d4dd 8367982: Unify ObjectSynchronizer and LightweightSynchronizer
Reviewed-by: pchilanomate, coleenp
2025-11-06 12:16:19 +00:00
Patricio Chilano Mateo
c6a88155b5 8369238: Allow virtual thread preemption on some common class initialization paths
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: sspitsyn, dholmes, coleenp, fbredberg
2025-11-04 23:32:41 +00:00
Anton Artemov
e84dca9d2b 8366659: Added a comment to a boolean arg for enter() 2025-11-04 10:45:16 +01:00
Anton Artemov
3a6b798cf4 8366659: Fixed new lines. 2025-10-27 11:18:15 +01:00
Anton Artemov
1fd0278a0e Merge remote-tracking branch 'origin/master' into JDK-8366659-OM-wait-suspend-deadlock 2025-10-24 10:00:28 +01:00
Patricio Chilano Mateo
6e898e2113 8369944: Notification can be lost due to interrupt in Object.wait
Reviewed-by: dholmes, fbredberg
2025-10-23 15:46:34 +00:00
Anton Artemov
e40052552d 8366659: Removed incorrect assert, 2025-10-23 13:33:05 +02:00
Anton Artemov
ca5e74e9d7 8366659: Fixed merge conflict 2025-10-23 11:23:13 +01:00
Patricio Chilano Mateo
9feb8f21b5 8369019: Improve timed-park mechanism in ObjectMonitor for virtual thread support
Reviewed-by: dholmes, alanb
2025-10-13 14:07:40 +00:00
Fredrik Bredberg
e6781fd949 8367601: Remove held_monitor_count
Reviewed-by: mdoerr, pchilanomate, fyang
2025-10-06 08:10:11 +00:00
Anton Artemov
cd05ae8278 8366659: Fixed whitespace. 2025-09-30 11:47:03 +02:00
Anton Artemov
373bbae22e 8366659: Disabled posting JVMTI events in reenter-etner path of wait. Postponed waited event. 2025-09-25 10:35:32 +02:00
Anton Artemov
af7910c2fd Merge remote-tracking branch 'origin/master' into JDK-8366659-OM-wait-suspend-deadlock 2025-09-22 08:42:04 +01:00
Kim Barrett
9e843f56ec 8367014: Rename class Atomic to AtomicAccess
Reviewed-by: dholmes, aph, stefank
2025-09-12 06:35:55 +00:00
Fredrik Bredberg
a272696813 8365190: Remove LockingMode related code from share
Reviewed-by: aboldtch, dholmes, ayang, coleenp, lmesnik, rcastanedalo
2025-09-08 10:28:18 +00:00
Anton Artemov
699b48c6ca 8366659: Fixed whitespace. 2025-09-04 09:53:03 +02:00
Anton Artemov
8565dc76fc 8366659: Fixed whitespace. 2025-09-04 09:41:07 +02:00
Anton Artemov
c71c4637a3 8366659: Fixed whitespace error. 2025-09-04 09:37:07 +02:00
Anton Artemov
63b3415ca5 8366659: Removed ClearSuccOnSuspend. 2025-09-03 15:18:06 +01:00
Anton Artemov
a8ea93bec6 8366659: Deadlock fix for wait() with suspension in ObjectMonitor. Tests added. 2025-09-02 09:58:20 +02:00
Francesco Andreuzzi
d19eab4f08 8366556: Sort share/runtime includes
Reviewed-by: dholmes, ayang
2025-09-02 07:57:03 +00:00
Anton Artemov
70f3469310 8365556: ObjectMonitor::try_lock_or_add_to_entry_list() returns true with the wrong state of the node
Reviewed-by: pchilanomate, dholmes, fbredberg
2025-08-20 08:13:07 +00:00
Fredrik Bredberg
39a28ffe4e 8355646: Optimize ObjectMonitor::exit
Reviewed-by: pchilanomate, coleenp
2025-05-12 08:16:15 +00:00
Zhengyu Gu
62ef706dd1 8355648: Thread.SpinAcquire()'s lock name parameter is not used
Reviewed-by: shade, coleenp
2025-04-28 23:31:54 +00:00
Coleen Phillimore
9ead2b75ce 8354180: Clean up uses of ObjectMonitor caches
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: aboldtch, fbredberg
2025-04-11 13:12:16 +00:00
Aleksey Shipilev
ea07e719ca 8352256: ObjectSynchronizer::quick_notify misses JFR event notification path
Reviewed-by: dholmes, coleenp, mgronlun
2025-04-08 08:12:59 +00:00
Fredrik Bredberg
45a9750b2c 8351655: Optimize ObjectMonitor::unlink_after_acquire()
Reviewed-by: pchilanomate, dholmes, coleenp
2025-03-26 07:30:04 +00:00
Aleksey Shipilev
aee4d6910b 8348829: Remove ObjectMonitor perf counters
Reviewed-by: dholmes, coleenp
2025-03-25 09:01:48 +00:00
Aleksey Shipilev
17dc30c54e 8352414: JFR: JavaMonitorDeflateEvent crashes when deflated monitor object is dead
Reviewed-by: dholmes, mgronlun
2025-03-25 08:20:35 +00:00