mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -121,6 +121,9 @@ class ObjectSynchronizer : AllStatic {
|
|||
static void oops_do(OopClosure* f);
|
||||
|
||||
// debugging
|
||||
static void sanity_checks(const bool verbose,
|
||||
const unsigned int cache_line_size,
|
||||
int *error_cnt_ptr, int *warning_cnt_ptr);
|
||||
static void verify() PRODUCT_RETURN;
|
||||
static int verify_objmon_isinpool(ObjectMonitor *addr) PRODUCT_RETURN0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue