mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
6890308: integrate zero assembler hotspot changes
Reviewed-by: never
This commit is contained in:
parent
9b306d03ee
commit
5473f394c6
108 changed files with 7657 additions and 56 deletions
|
@ -99,6 +99,8 @@ class JNIHandles : AllStatic {
|
|||
|
||||
class JNIHandleBlock : public CHeapObj {
|
||||
friend class VMStructs;
|
||||
friend class CppInterpreter;
|
||||
|
||||
private:
|
||||
enum SomeConstants {
|
||||
block_size_in_oops = 32 // Number of handles per handle block
|
||||
|
@ -126,9 +128,11 @@ class JNIHandleBlock : public CHeapObj {
|
|||
// Fill block with bad_handle values
|
||||
void zap();
|
||||
|
||||
protected:
|
||||
// No more handles in the both the current and following blocks
|
||||
void clear() { _top = 0; }
|
||||
|
||||
private:
|
||||
// Free list computation
|
||||
void rebuild_free_list();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue