2015-03-05 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git] / libjava / java / lang / ThreadLocal.h
blob13e1f84c6abadf421c7a8b9edbd56e860fbf12ad
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_ThreadLocal__
5 #define __java_lang_ThreadLocal__
7 #pragma interface
9 #include <java/lang/Object.h>
10 extern "Java"
12 namespace gnu
14 namespace gcj
16 class RawData;
21 class java::lang::ThreadLocal : public ::java::lang::Object
24 jint computeNextHash();
25 public:
26 ThreadLocal();
27 public: // actually protected
28 virtual ::java::lang::Object * initialValue();
29 public:
30 virtual ::java::lang::Object * get();
31 private:
32 ::java::lang::Object * internalGet();
33 public:
34 virtual void set(::java::lang::Object *);
35 private:
36 void internalSet(::java::lang::Object *);
37 public:
38 virtual void remove();
39 private:
40 void internalRemove();
41 public: // actually protected
42 virtual void finalize();
43 private:
44 void constructNative();
45 public: // actually package-private
46 static ::java::lang::Object * sentinel;
47 private:
48 static jint nextHashBase;
49 public: // actually package-private
50 jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) fastHash;
51 private:
52 ::gnu::gcj::RawData * TLSPointer;
53 public:
54 static ::java::lang::Class class$;
57 #endif // __java_lang_ThreadLocal__