mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8256425: Obsolete Biased Locking in JDK 18
Reviewed-by: kvn, dholmes, dcubed, rrich
This commit is contained in:
parent
595446bff4
commit
2fd7943ec1
165 changed files with 293 additions and 5261 deletions
|
@ -57,7 +57,6 @@
|
|||
#include "oops/oop.inline.hpp"
|
||||
#include "oops/symbol.hpp"
|
||||
#include "prims/jvmtiExport.hpp"
|
||||
#include "runtime/biasedLocking.hpp"
|
||||
#include "runtime/deoptimization.hpp"
|
||||
#include "runtime/flags/flagSetting.hpp"
|
||||
#include "runtime/handles.inline.hpp"
|
||||
|
@ -247,7 +246,7 @@ void print_statistics() {
|
|||
os::print_statistics();
|
||||
}
|
||||
|
||||
if (PrintLockStatistics || PrintPreciseBiasedLockingStatistics || PrintPreciseRTMLockingStatistics) {
|
||||
if (PrintLockStatistics || PrintPreciseRTMLockingStatistics) {
|
||||
OptoRuntime::print_named_counters();
|
||||
}
|
||||
#ifdef ASSERT
|
||||
|
@ -333,10 +332,6 @@ void print_statistics() {
|
|||
Method::print_touched_methods(tty);
|
||||
}
|
||||
|
||||
if (PrintBiasedLockingStatistics) {
|
||||
BiasedLocking::print_counters();
|
||||
}
|
||||
|
||||
// Native memory tracking data
|
||||
if (PrintNMTStatistics) {
|
||||
MemTracker::final_report(tty);
|
||||
|
@ -375,13 +370,10 @@ void print_statistics() {
|
|||
}
|
||||
|
||||
#ifdef COMPILER2
|
||||
if (PrintPreciseBiasedLockingStatistics || PrintPreciseRTMLockingStatistics) {
|
||||
if (PrintPreciseRTMLockingStatistics) {
|
||||
OptoRuntime::print_named_counters();
|
||||
}
|
||||
#endif
|
||||
if (PrintBiasedLockingStatistics) {
|
||||
BiasedLocking::print_counters();
|
||||
}
|
||||
|
||||
// Native memory tracking data
|
||||
if (PrintNMTStatistics) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue