src/hotspot/share/oops/generateOopMap.cpp
changeset 48157 7c4d43c26352
parent 47822 7437dc810834
child 48826 c4d9d1b08e2e
--- a/src/hotspot/share/oops/generateOopMap.cpp	Wed Nov 29 18:43:35 2017 -0800
+++ b/src/hotspot/share/oops/generateOopMap.cpp	Tue Nov 28 21:43:45 2017 +0100
@@ -27,6 +27,7 @@
 #include "interpreter/bytecodeStream.hpp"
 #include "logging/log.hpp"
 #include "logging/logStream.hpp"
+#include "memory/allocation.inline.hpp"
 #include "oops/generateOopMap.hpp"
 #include "oops/oop.inline.hpp"
 #include "oops/symbol.hpp"
@@ -217,6 +218,12 @@
 int RetTable::_init_nof_entries = 10;
 int RetTableEntry::_init_nof_jsrs = 5;
 
+RetTableEntry::RetTableEntry(int target, RetTableEntry *next) {
+  _target_bci = target;
+  _jsrs = new GrowableArray<intptr_t>(_init_nof_jsrs);
+  _next = next;
+}
+
 void RetTableEntry::add_delta(int bci, int delta) {
   if (_target_bci > bci) _target_bci += delta;