mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8188220: Remove Atomic::*_ptr() uses and overloads from hotspot
With the new template functions these are unnecessary. Reviewed-by: kbarrett, dholmes, eosterlund
This commit is contained in:
parent
cb9e7bf51a
commit
39b068db11
83 changed files with 376 additions and 458 deletions
|
@ -25,6 +25,7 @@
|
|||
#ifndef SHARE_VM_RUNTIME_SYNCHRONIZER_HPP
|
||||
#define SHARE_VM_RUNTIME_SYNCHRONIZER_HPP
|
||||
|
||||
#include "memory/padded.hpp"
|
||||
#include "oops/markOop.hpp"
|
||||
#include "runtime/basicLock.hpp"
|
||||
#include "runtime/handles.hpp"
|
||||
|
@ -159,9 +160,7 @@ class ObjectSynchronizer : AllStatic {
|
|||
private:
|
||||
enum { _BLOCKSIZE = 128 };
|
||||
// global list of blocks of monitors
|
||||
// gBlockList is really PaddedEnd<ObjectMonitor> *, but we don't
|
||||
// want to expose the PaddedEnd template more than necessary.
|
||||
static ObjectMonitor * volatile gBlockList;
|
||||
static PaddedEnd<ObjectMonitor> * volatile gBlockList;
|
||||
// global monitor free list
|
||||
static ObjectMonitor * volatile gFreeList;
|
||||
// global monitor in-use list, for moribund threads,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue