Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/jniHandles.hpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | 63a4eb8bcd23 |
children | dd9cc155639c |
comparison
equal
deleted
inserted
replaced
14908:8db6e76cb658 | 14909:4ca6dc0799b6 |
---|---|
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 negligible. | 109 // Having two types of blocks complicates the code and the space overhead in negligble. |
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 |