hotspot/src/share/vm/runtime/jniHandles.hpp
changeset 22551 9bf46d16dcc6
parent 13728 882756847a04
child 25058 4542f853c2ac
equal deleted inserted replaced
22550:820966182ab9 22551:9bf46d16dcc6
   104   oop             _handles[block_size_in_oops]; // The handles
   104   oop             _handles[block_size_in_oops]; // The handles
   105   int             _top;                         // Index of next unused handle
   105   int             _top;                         // Index of next unused handle
   106   JNIHandleBlock* _next;                        // Link to next block
   106   JNIHandleBlock* _next;                        // Link to next block
   107 
   107 
   108   // The following instance variables are only used by the first block in a chain.
   108   // The following instance variables are only used by the first block in a chain.
   109   // Having two types of blocks complicates the code and the space overhead in negligble.
   109   // Having two types of blocks complicates the code and the space overhead in negligible.
   110   JNIHandleBlock* _last;                        // Last block in use
   110   JNIHandleBlock* _last;                        // Last block in use
   111   JNIHandleBlock* _pop_frame_link;              // Block to restore on PopLocalFrame call
   111   JNIHandleBlock* _pop_frame_link;              // Block to restore on PopLocalFrame call
   112   oop*            _free_list;                   // Handle free list
   112   oop*            _free_list;                   // Handle free list
   113   int             _allocate_before_rebuild;     // Number of blocks to allocate before rebuilding free list
   113   int             _allocate_before_rebuild;     // Number of blocks to allocate before rebuilding free list
   114 
   114