< prev index next >
src/hotspot/share/runtime/basicLock.hpp
Print this page
@@ -26,11 +26,11 @@
#define SHARE_VM_RUNTIME_BASICLOCK_HPP
#include "oops/markOop.hpp"
#include "runtime/handles.hpp"
-class BasicLock VALUE_OBJ_CLASS_SPEC {
+class BasicLock {
friend class VMStructs;
friend class JVMCIVMStructs;
private:
volatile markOop _displaced_header;
public:
@@ -52,11 +52,11 @@
// the actual space allocated by the interpreter may include padding words
// after the end of the BasicObjectLock. Also, in order to guarantee
// alignment of the embedded BasicLock objects on such machines, we
// put the embedded BasicLock at the beginning of the struct.
-class BasicObjectLock VALUE_OBJ_CLASS_SPEC {
+class BasicObjectLock {
friend class VMStructs;
private:
BasicLock _lock; // the lock, must be double word aligned
oop _obj; // object holds the lock;
< prev index next >