--- old/src/hotspot/share/classfile/classFileParser.cpp 2019-11-11 13:07:50.734653665 -0500 +++ new/src/hotspot/share/classfile/classFileParser.cpp 2019-11-11 13:07:50.450646221 -0500 @@ -47,7 +47,7 @@ #include "memory/universe.hpp" #include "oops/annotations.hpp" #include "oops/constantPool.inline.hpp" -#include "oops/fieldStreams.hpp" +#include "oops/fieldStreams.inline.hpp" #include "oops/instanceKlass.hpp" #include "oops/instanceMirrorKlass.hpp" #include "oops/klass.inline.hpp" @@ -332,7 +332,7 @@ hashValues[names_count++] = hash; if (names_count == SymbolTable::symbol_alloc_batch_size) { SymbolTable::new_symbols(_loader_data, - cp, + constantPoolHandle(THREAD, cp), names_count, names, lengths, @@ -369,7 +369,7 @@ // Allocate the remaining symbols if (names_count > 0) { SymbolTable::new_symbols(_loader_data, - cp, + constantPoolHandle(THREAD, cp), names_count, names, lengths, @@ -2870,7 +2870,7 @@ } if (parsed_annotations.has_any_annotations()) - parsed_annotations.apply_to(m); + parsed_annotations.apply_to(methodHandle(THREAD, m)); // Copy annotations copy_method_annotations(m->constMethod(), @@ -3753,7 +3753,7 @@ #ifndef PRODUCT static void print_field_layout(const Symbol* name, Array* fields, - const constantPoolHandle& cp, + ConstantPool* cp, int instance_size, int instance_fields_start, int instance_fields_end,