--- old/src/hotspot/share/interpreter/bytecodeStream.cpp 2018-03-20 18:40:17.260885702 -0400 +++ new/src/hotspot/share/interpreter/bytecodeStream.cpp 2018-03-20 18:40:16.619826213 -0400 @@ -25,6 +25,7 @@ #include "precompiled.hpp" #include "interpreter/bytecodeStream.hpp" #include "interpreter/bytecodes.hpp" +#include "runtime/handles.inline.hpp" Bytecodes::Code RawBytecodeStream::raw_next_special(Bytecodes::Code code) { assert(!is_last_bytecode(), "should have been checked"); @@ -53,6 +54,11 @@ return code; } +BaseBytecodeStream::BaseBytecodeStream(const methodHandle& method) : _method(method) { + set_interval(0, _method->code_size()); + _is_raw = false; +} + #ifdef ASSERT void BaseBytecodeStream::assert_raw_index_size(int size) const { if (raw_code() == Bytecodes::_invokedynamic && is_raw()) {