Ioi Lam
33b6378f1e
8265101: Remove unnecessary functions in os*.inline.hpp
...
Reviewed-by: dholmes, kbarrett
2021-04-22 05:44:39 +00:00
Harold Seigel
af13c64f68
8264711: More runtime TRAPS cleanups
...
Reviewed-by: lfoltan, pchilanomate, dholmes, dcubed
2021-04-08 12:13:19 +00:00
Patricio Chilano Mateo
2ad6f2d9bc
8263896: Make not_suspended parameter from ObjectMonitor::exit() have default value
...
Reviewed-by: rehn, dcubed, dholmes
2021-03-30 15:00:38 +00:00
Aleksey Shipilev
ba22e6f6fa
8263446: Avoid unary minus over unsigned type in ObjectSynchronizer::dec_in_use_list_ceiling
...
Reviewed-by: eosterlund, dcubed
2021-03-15 06:25:36 +00:00
David Holmes
c6d74bd933
8262910: Cleanup THREAD/TRAPS/naming and typing issues in ObjectMonitor and related code
...
Reviewed-by: coleenp, pchilanomate, dcubed, cjplummer, sspitsyn
2021-03-10 22:33:56 +00:00
Ioi Lam
d9744f6536
8261608: Move common CDS archive building code to archiveBuilder.cpp
...
Reviewed-by: coleenp, ccheung
2021-02-15 06:37:39 +00:00
Yasumasa Suenaga
6b24e98c42
8259008: ArithmeticException was thrown at "Monitor Cache Dump" on HSDB
...
Reviewed-by: dcubed, gziemski, eosterlund, cjplummer, sspitsyn
2021-01-30 03:46:23 +00:00
Coleen Phillimore
81a66dfa81
8259809: Remove PerfEvent class loading locking counters
...
Reviewed-by: redestad, iklam
2021-01-26 11:50:10 +00:00
Ioi Lam
ba38661504
8259882: Reduce the inclusion of perfData.hpp
...
Reviewed-by: redestad, coleenp
2021-01-22 04:20:41 +00:00
Coleen Phillimore
9aa5672af0
8259068: Streamline class loader locking
...
Reviewed-by: dcubed, iklam
2021-01-15 17:47:33 +00:00
Daniel D. Daugherty
be57cf149e
8226416: MonitorUsedDeflationThreshold can cause repeated async deflation requests
...
Reviewed-by: dholmes, coleenp
2021-01-14 14:23:27 +00:00
Daniel D. Daugherty
c338f1167f
8259349: -XX:AvgMonitorsPerThreadEstimate=1 does not work right
...
Reviewed-by: coleenp, dholmes
2021-01-12 14:39:58 +00:00
Daniel D. Daugherty
9cd8e38ab8
8257521: runtime/logging/MonitorInflationTest.java crashed in MonitorList::unlink_deflated
...
Reviewed-by: kbarrett
2020-12-23 14:36:47 +00:00
Dan Smith
48d8650ae1
8257845: Integrate JEP 390
...
8254047: [JEP 390] Revise "value-based class" & apply to wrappers
8252181: [JEP 390] Define & apply annotation jdk.internal.ValueBased
8252183: [JEP 390] Add 'lint' warning for @ValueBased classes
8257027: [JEP 390] Diagnose synchronization on @ValueBased classes
8252180: [JEP 390] Deprecate wrapper class constructors for removal
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Reviewed-by: rriggs, hseigel, mchung, darcy
2020-12-08 23:04:01 +00:00
David Holmes
99eac53580
8225631: Consider replacing muxAcquire/Release with PlatformMonitor
...
Reviewed-by: coleenp, dcubed, kbarrett
2020-11-18 22:45:49 +00:00
Daniel D. Daugherty
1707d5ca3c
8238174: migrate ObjectMonitor::_owner field away from C++ volatile semantics
...
Reviewed-by: dholmes, mdoerr
2020-11-18 16:48:17 +00:00
Daniel D. Daugherty
1d7ed03d5c
8244376: possibly stale comment above "struct SharedGlobals" in synchronizer.cpp
...
Reviewed-by: hseigel, dholmes
2020-11-16 14:10:08 +00:00
Daniel D. Daugherty
2e19026d45
8253064: monitor list simplifications and getting rid of TSM
...
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: eosterlund, rehn, coleenp
2020-11-11 16:20:11 +00:00
Jie Fu
a1d4b9f35b
8256009: Remove src/hotspot/share/adlc/Test/i486.ad
...
Reviewed-by: shade, thartmann
2020-11-10 13:49:01 +00:00
Daniel D. Daugherty
c87cdf70e4
8254029: ObjectMonitor cleanup/minor bug-fix changes extracted from JDK-8253064
...
Reviewed-by: dholmes, eosterlund
2020-10-20 01:08:19 +00:00
Martin Doerr
dc3a0f5f88
8253183: Fragile memory barrier selection for some weak memory model platforms
...
Reviewed-by: dholmes, eosterlund, dcubed
2020-09-30 09:03:06 +00:00
Daniel D. Daugherty
d8921ed573
8247281: migrate ObjectMonitor::_object to OopStorage
...
Co-authored-by: Erik Österlund <erik.osterlund@oracle.com>
Co-authored-by: Daniel Daugherty <daniel.daugherty@oracle.com>
Reviewed-by: eosterlund, coleenp, dholmes, stefank, kbarrett, rkennke, sspitsyn
2020-09-21 22:12:07 +00:00
Daniel D. Daugherty
e7a1b9bf81
8252981: ObjectMonitor::object() cleanup changes extracted from JDK-8247281
...
Co-authored-by: Erik Österlund <erik.osterlund@oracle.com>
Co-authored-by: Daniel Daugherty <daniel.daugherty@oracle.com>
Reviewed-by: rehn, coleenp, eosterlund
2020-09-11 13:35:34 +00:00
David Holmes
976acddeb5
8252406: Introduce Thread::as_Java_thread() convenience function
...
Reviewed-by: shade, coleenp, kbarrett, dcubed
2020-09-11 01:31:32 +00:00
Daniel D. Daugherty
f9339616e1
8252980: comment only changes extracted from JDK-8247281
...
Reviewed-by: iklam, dholmes
2020-09-09 23:35:17 +00:00
Erik Österlund
e29c3f6123
8252661: Change SafepointMechanism terminology to talk less about "blocking"
...
Reviewed-by: rehn, shade, dholmes
2020-09-07 13:59:24 +00:00
Daniel D. Daugherty
d1ab20c633
8252126: 'GVars.stw_random = os::random()' lost by JDK-8246476
...
Reviewed-by: eosterlund
2020-08-21 16:00:11 -04:00
Patricio Chilano Mateo
e56002c7d3
8242263: Diagnose synchronization on primitive wrappers
...
Added diagnostic flag DiagnoseSyncOnPrimitiveWrappers
Reviewed-by: dholmes, mdoerr, dcubed, coleenp, egahlin, mgronlun
2020-08-21 15:04:02 +00:00
David Holmes
07c3021936
8251460: Fix the biased-locking code in ObjectSynchronizer::FastHashCode
...
Reviewed-by: coleenp, dcubed, pchilanomate
2020-08-13 00:20:42 -04:00
David Holmes
c202bd705e
8250606: Remove unnecessary assertions in ObjectSynchronizer FastHashcode and inflate
...
Reviewed-by: dcubed, coleenp
2020-08-06 21:03:18 -04:00
Daniel D. Daugherty
ee1efed55d
Merge
2020-07-15 17:13:00 -04:00
Daniel D. Daugherty
f636b84f48
8246676: monitor list lock operations need more fencing
...
Reviewed-by: dholmes, eosterlund, rehn, pchilanomate
2020-07-15 17:01:38 -04:00
Daniel D. Daugherty
62d77dc3fc
8247280: more fencing needed in async deflation for non-TSO machines
...
Reviewed-by: dholmes, pchilanomate
2020-07-15 16:59:39 -04:00
Daniel D. Daugherty
7436ef236e
8246476: remove AsyncDeflateIdleMonitors option and the safepoint based deflation mechanism
...
Reviewed-by: dholmes, pchilanomate, coleenp
2020-07-13 16:36:01 -04:00
Daniel D. Daugherty
3e4ad5d8d1
8246477
: add whitebox support for deflating idle monitors
...
Reviewed-by: dholmes, eosterlund
2020-06-24 17:48:53 -04:00
Daniel D. Daugherty
00f223e22f
8153224: Monitor deflation prolong safepoints
...
Add support for AsyncDeflateIdleMonitors (default true); the async deflation work is performed by the ServiceThread.
Co-authored-by: Carsten Varming <varming@gmail.com>
Reviewed-by: dcubed, rehn, rkennke, cvarming, coleenp, acorn, dholmes, eosterlund
2020-06-01 23:37:14 -04:00
Daniel D. Daugherty
57fbf93ef9
8230940: Obsolete MonitorBound
...
Obsolete MonitorBound option and delete associated code.
Reviewed-by: kbarrett, dholmes, redestad
2020-05-03 10:00:36 -04:00
Claes Redestad
8d84cf5a3b
8241837: Cleanup stringStream usage in ObjectSynchronizer
...
Reviewed-by: dcubed, dholmes
2020-04-01 14:35:43 +02:00
Daniel D. Daugherty
a7a82b0c79
8235795: replace monitor list mux{Acquire,Release}(&gListLock) with spin locks
...
Reviewed-by: dholmes, coleenp, rehn
2020-02-05 11:40:20 -05:00
Daniel D. Daugherty
8ff24c55ef
8236035: refactor ObjectMonitor::set_owner() and _owner field setting
...
Reviewed-by: dholmes, kbarrett, rehn
2020-02-05 11:39:52 -05:00
Daniel D. Daugherty
b9e3a4efef
8235931: add OM_CACHE_LINE_SIZE and use smaller size on SPARCv9 and X64
...
Reviewed-by: dholmes, redestad, mdoerr
2020-02-05 11:38:18 -05:00
Robbin Ehn
3d7d54b145
8234086: VM operation can be simplified
...
Reviewed-by: kbarrett, dholmes, dcubed
2019-11-29 12:09:25 +01:00
Stefan Karlsson
0ad50c2b5c
8234740: Harmonize parameter order in Atomic - cmpxchg
...
Reviewed-by: rehn, dholmes
2019-11-25 12:33:15 +01:00
Stefan Karlsson
3d426623bf
8234739: Harmonize parameter order in Atomic - xchg
...
Reviewed-by: rehn, dholmes
2019-11-25 12:32:40 +01:00
Stefan Karlsson
e527ce4b57
8234562: Move OrderAccess::release_store*/load_acquire to Atomic
...
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
Daniel D. Daugherty
008bdefad4
8234544: ObjectSynchronizer::FastHashCode() cleanups from Async Monitor Deflation project
...
Reviewed-by: dholmes
2019-11-22 09:06:35 -05:00
Daniel D. Daugherty
b10495d436
8230876: baseline cleanups from Async Monitor Deflation v2.0[789]
...
Reviewed-by: dholmes, kvn
2019-11-20 09:10:02 -05:00
Coleen Phillimore
e49e9292d3
8213150: Add verification for locking by VMThread
...
Extend verification for all locking not just VMOperations, and fix CLDG lock to not be taken by VM thread.
Reviewed-by: rehn, dholmes
2019-09-24 10:12:56 -04:00
Per Lidén
2d6874b861
8230841: Remove oopDesc::equals()
...
Reviewed-by: rkennke, tschatzl
2019-09-17 09:51:02 +02:00
Leo Korinth
eafb888c18
8227168: Cleanup usage of NEW_C_HEAP_ARRAY
...
Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
2019-09-11 14:16:27 +02:00