1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __sun_misc_Unsafe__
#define __sun_misc_Unsafe__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace sun
{
namespace misc
{
class Unsafe;
}
}
}
class sun::misc::Unsafe : public ::java::lang::Object
{
Unsafe();
public:
static ::sun::misc::Unsafe * getUnsafe();
virtual jlong objectFieldOffset(::java::lang::reflect::Field *);
virtual jboolean compareAndSwapInt(::java::lang::Object *, jlong, jint, jint);
virtual jboolean compareAndSwapLong(::java::lang::Object *, jlong, jlong, jlong);
virtual jboolean compareAndSwapObject(::java::lang::Object *, jlong, ::java::lang::Object *, ::java::lang::Object *);
virtual void putOrderedInt(::java::lang::Object *, jlong, jint);
virtual void putOrderedLong(::java::lang::Object *, jlong, jlong);
virtual void putOrderedObject(::java::lang::Object *, jlong, ::java::lang::Object *);
virtual void putIntVolatile(::java::lang::Object *, jlong, jint);
virtual jint getIntVolatile(::java::lang::Object *, jlong);
virtual void putLongVolatile(::java::lang::Object *, jlong, jlong);
virtual void putLong(::java::lang::Object *, jlong, jlong);
virtual jlong getLongVolatile(::java::lang::Object *, jlong);
virtual jlong getLong(::java::lang::Object *, jlong);
virtual void putObjectVolatile(::java::lang::Object *, jlong, ::java::lang::Object *);
virtual void putObject(::java::lang::Object *, jlong, ::java::lang::Object *);
virtual ::java::lang::Object * getObjectVolatile(::java::lang::Object *, jlong);
virtual jint arrayBaseOffset(::java::lang::Class *);
virtual jint arrayIndexScale(::java::lang::Class *);
virtual void unpark(::java::lang::Thread *);
virtual void park(jboolean, jlong);
private:
static ::sun::misc::Unsafe * unsafe;
public:
static ::java::lang::Class class$;
};
#endif // __sun_misc_Unsafe__
|