mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8049717: expose L1_data_cache_line_size for diagnostic/sanity checks
Add support for VM_Version::L1_data_cache_line_size(). Reviewed-by: dsimms, kvn, dholmes
This commit is contained in:
parent
a36ef5533f
commit
a06d36cada
10 changed files with 194 additions and 17 deletions
|
@ -189,6 +189,8 @@ public:
|
|||
bool check(TRAPS); // true if the thread owns the monitor.
|
||||
void check_slow(TRAPS);
|
||||
void clear();
|
||||
static void sanity_checks(); // public for -XX:+ExecuteInternalVMTests
|
||||
// in PRODUCT for -XX:SyncKnobs=Verbose=1
|
||||
#ifndef PRODUCT
|
||||
void verify();
|
||||
void print();
|
||||
|
@ -234,8 +236,6 @@ public:
|
|||
|
||||
// WARNING: this must be the very first word of ObjectMonitor
|
||||
// This means this class can't use any virtual member functions.
|
||||
// TODO-FIXME: assert that offsetof(_header) is 0 or get rid of the
|
||||
// implicit 0 offset in emitted code.
|
||||
|
||||
volatile markOop _header; // displaced object header word - mark
|
||||
void* volatile _object; // backward object pointer - strong root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue