mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8213438: Remove ClearResponsibleAtSTW
Reviewed-by: dholmes, eosterlund, dcubed
This commit is contained in:
parent
a567796533
commit
38a1e5ffbc
1 changed files with 0 additions and 5 deletions
|
@ -1528,10 +1528,6 @@ ObjectMonitor* ObjectSynchronizer::inflate(Thread * Self,
|
||||||
// which in turn can mean large(r) numbers of objectmonitors in circulation.
|
// which in turn can mean large(r) numbers of objectmonitors in circulation.
|
||||||
// This is an unfortunate aspect of this design.
|
// This is an unfortunate aspect of this design.
|
||||||
|
|
||||||
enum ManifestConstants {
|
|
||||||
ClearResponsibleAtSTW = 0
|
|
||||||
};
|
|
||||||
|
|
||||||
// Deflate a single monitor if not in-use
|
// Deflate a single monitor if not in-use
|
||||||
// Return true if deflated, false if in-use
|
// Return true if deflated, false if in-use
|
||||||
bool ObjectSynchronizer::deflate_monitor(ObjectMonitor* mid, oop obj,
|
bool ObjectSynchronizer::deflate_monitor(ObjectMonitor* mid, oop obj,
|
||||||
|
@ -1544,7 +1540,6 @@ bool ObjectSynchronizer::deflate_monitor(ObjectMonitor* mid, oop obj,
|
||||||
guarantee(mid->header()->is_neutral(), "invariant");
|
guarantee(mid->header()->is_neutral(), "invariant");
|
||||||
|
|
||||||
if (mid->is_busy()) {
|
if (mid->is_busy()) {
|
||||||
if (ClearResponsibleAtSTW) mid->_Responsible = NULL;
|
|
||||||
deflated = false;
|
deflated = false;
|
||||||
} else {
|
} else {
|
||||||
// Deflate the monitor if it is no longer being used
|
// Deflate the monitor if it is no longer being used
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue