diff -r a8f9aac3c2e5 -r 7c4d43c26352 src/hotspot/share/oops/generateOopMap.cpp --- 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(_init_nof_jsrs); + _next = next; +} + void RetTableEntry::add_delta(int bci, int delta) { if (_target_bci > bci) _target_bci += delta;