--- a/hotspot/src/share/vm/jvmci/jvmciCompilerToVM.hpp Wed Jun 22 21:13:52 2016 +0000
+++ b/hotspot/src/share/vm/jvmci/jvmciCompilerToVM.hpp Wed Jun 22 22:39:32 2016 +0000
@@ -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;
@@ -75,6 +76,11 @@
public:
static void initialize();
+
+ static int max_oop_map_stack_offset() {
+ assert(_max_oop_map_stack_offset > 0, "must be initialized");
+ return Data::_max_oop_map_stack_offset;
+ }
};
public: