< prev index next >

src/hotspot/share/runtime/javaThread.hpp

Print this page
*** 91,11 ***
    // have to be released by the ServiceThread after the JavaThread has
    // terminated - see add_oop_handles_for_release().
    OopHandle      _threadObj;                     // The Java level thread object
    OopHandle      _vthread; // the value returned by Thread.currentThread(): the virtual thread, if mounted, otherwise _threadObj
    OopHandle      _jvmti_vthread;
!   OopHandle      _extentLocalCache;
  
    static OopStorage* _thread_oop_storage;
  
  #ifdef ASSERT
   private:
--- 91,11 ---
    // have to be released by the ServiceThread after the JavaThread has
    // terminated - see add_oop_handles_for_release().
    OopHandle      _threadObj;                     // The Java level thread object
    OopHandle      _vthread; // the value returned by Thread.currentThread(): the virtual thread, if mounted, otherwise _threadObj
    OopHandle      _jvmti_vthread;
!   OopHandle      _scopedValueCache;
  
    static OopStorage* _thread_oop_storage;
  
  #ifdef ASSERT
   private:

*** 468,13 ***
  
   public:
    inline StackWatermarks* stack_watermarks() { return &_stack_watermarks; }
  
   public:
!   jlong _extentLocal_hash_table_shift;
  
!   void allocate_extentLocal_hash_table(int count);
  
   public:
    // Constructor
    JavaThread();                            // delegating constructor
    JavaThread(bool is_attaching_via_jni);   // for main thread and JNI attached threads
--- 468,13 ---
  
   public:
    inline StackWatermarks* stack_watermarks() { return &_stack_watermarks; }
  
   public:
!   jlong _scopedValue_hash_table_shift;
  
!   void allocate_scopedValue_hash_table(int count);
  
   public:
    // Constructor
    JavaThread();                            // delegating constructor
    JavaThread(bool is_attaching_via_jni);   // for main thread and JNI attached threads

*** 524,12 ***
    // (or for threads attached via JNI)
    oop threadObj() const;
    void set_threadOopHandles(oop p);
    oop vthread() const;
    void set_vthread(oop p);
!   oop extentLocalCache() const;
!   void set_extentLocalCache(oop p);
    oop jvmti_vthread() const;
    void set_jvmti_vthread(oop p);
  
    // Prepare thread and add to priority queue.  If a priority is
    // not specified, use the priority of the thread object. Threads_lock
--- 524,13 ---
    // (or for threads attached via JNI)
    oop threadObj() const;
    void set_threadOopHandles(oop p);
    oop vthread() const;
    void set_vthread(oop p);
!   oop scopedValueCache() const;
!   void set_scopedValueCache(oop p);
+   void clear_scopedValueBindings();
    oop jvmti_vthread() const;
    void set_jvmti_vthread(oop p);
  
    // Prepare thread and add to priority queue.  If a priority is
    // not specified, use the priority of the thread object. Threads_lock

*** 756,11 ***
    // Misc. accessors/mutators
    void set_do_not_unlock(void)                   { _do_not_unlock_if_synchronized = true; }
    void clr_do_not_unlock(void)                   { _do_not_unlock_if_synchronized = false; }
    bool do_not_unlock(void)                       { return _do_not_unlock_if_synchronized; }
  
!   static ByteSize extentLocalCache_offset()       { return byte_offset_of(JavaThread, _extentLocalCache); }
  
    // For assembly stub generation
    static ByteSize threadObj_offset()             { return byte_offset_of(JavaThread, _threadObj); }
    static ByteSize vthread_offset()               { return byte_offset_of(JavaThread, _vthread); }
    static ByteSize jni_environment_offset()       { return byte_offset_of(JavaThread, _jni_environment); }
--- 757,11 ---
    // Misc. accessors/mutators
    void set_do_not_unlock(void)                   { _do_not_unlock_if_synchronized = true; }
    void clr_do_not_unlock(void)                   { _do_not_unlock_if_synchronized = false; }
    bool do_not_unlock(void)                       { return _do_not_unlock_if_synchronized; }
  
!   static ByteSize scopedValueCache_offset()       { return byte_offset_of(JavaThread, _scopedValueCache); }
  
    // For assembly stub generation
    static ByteSize threadObj_offset()             { return byte_offset_of(JavaThread, _threadObj); }
    static ByteSize vthread_offset()               { return byte_offset_of(JavaThread, _vthread); }
    static ByteSize jni_environment_offset()       { return byte_offset_of(JavaThread, _jni_environment); }
< prev index next >