Mercurial > hg > graal-jvmci-8
diff src/share/vm/jvmci/jvmciCompilerToVM.hpp @ 23709:1b939a613788
Rename JVMCIRuntime::max_oop_map_stack_offset to CompilerToVM::Data::_max_oop_map_stack_offset
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 21 Jun 2016 14:36:16 -0700 |
parents | b5557b757040 |
children | a67f4d28935f |
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciCompilerToVM.hpp Tue Jun 21 14:36:00 2016 -0700 +++ b/src/share/vm/jvmci/jvmciCompilerToVM.hpp Tue Jun 21 14:36:16 2016 -0700 @@ -59,6 +59,7 @@ static bool _supports_inline_contig_alloc; static HeapWord** _heap_end_addr; static HeapWord** _heap_top_addr; + static int _max_oop_map_stack_offset; static jbyte* cardtable_start_address; static int cardtable_shift; @@ -80,6 +81,11 @@ public: static void initialize(TRAPS); + + static int max_oop_map_stack_offset() { + assert(_max_oop_map_stack_offset > 0, "must be initialized"); + return Data::_max_oop_map_stack_offset; + } }; /**