Analyzing build trace from 'out_fb260abe'... **** Time summary: Compilation (1233 times): Parsing (frontend): 1170.8 s Codegen & opts (backend): 704.1 s **** Files that took longest to parse (compiler frontend): 5482 ms: ./build/trace/hotspot/variant-server/libjvm/objs/dfa_x86.o 5320 ms: ./build/trace/hotspot/variant-server/libjvm/objs/ad_x86.o 4054 ms: ./build/trace/hotspot/variant-server/libjvm/objs/ad_x86_misc.o 3590 ms: ./build/trace/hotspot/variant-server/libjvm/objs/compile.o 3392 ms: ./build/trace/hotspot/variant-server/libjvm/objs/ad_x86_expand.o 3305 ms: ./build/trace/hotspot/variant-server/libjvm/objs/ad_x86_pipeline.o 3285 ms: ./build/trace/hotspot/variant-server/libjvm/objs/ad_x86_gen.o 2982 ms: ./build/trace/hotspot/variant-server/libjvm/objs/c2_MacroAssembler_x86.o 2874 ms: ./build/trace/hotspot/variant-server/libjvm/objs/matcher.o 2791 ms: ./build/trace/hotspot/variant-server/libjvm/objs/runtime.o **** Files that took longest to codegen (compiler backend): 14407 ms: ./build/trace/hotspot/variant-server/libjvm/objs/ad_x86.o 12847 ms: ./build/trace/hotspot/variant-server/libjvm/objs/assembler_x86.o 9500 ms: ./build/trace/hotspot/variant-server/libjvm/objs/ad_x86_misc.o 9484 ms: ./build/trace/hotspot/variant-server/libjvm/objs/dfa_x86.o 9300 ms: ./build/trace/hotspot/variant-server/libjvm/objs/ad_x86_expand.o 8348 ms: ./build/trace/hotspot/variant-server/libjvm/objs/jvmciCompilerToVMInit.o 8172 ms: ./build/trace/hotspot/variant-server/libjvm/objs/shenandoahMark.o 7969 ms: ./build/trace/hotspot/variant-server/libjvm/objs/jvm.o 7663 ms: ./build/trace/hotspot/variant-server/libjvm/objs/ad_x86_gen.o 6291 ms: ./build/trace/hotspot/variant-server/libjvm/objs/jvmciCompilerToVM.o **** Templates that took longest to instantiate: 45007 ms: AccessInternal::OopLoadProxy::operator oopDesc * (1232 times, avg 36 ms) 44433 ms: AccessInternal::load<524292UL, oopDesc *, oopDesc *> (1232 times, avg 36 ms) 41589 ms: AccessInternal::load_reduce_types<548932UL, oopDesc *> (1232 times, avg 33 ms) 40698 ms: AccessInternal::PreRuntimeDispatch::load<548932UL, oopDesc *> (1232 times, avg 33 ms) 35112 ms: Access<525312>::oop_atomic_xchg (1232 times, avg 28 ms) 34162 ms: AccessInternal::atomic_xchg<525316UL, oopDesc *, oopDesc *> (1232 times, avg 27 ms) 33456 ms: AccessInternal::RuntimeDispatch<548932, oopDesc *, AccessInternal::B... (1232 times, avg 27 ms) 33285 ms: AccessInternal::RuntimeDispatch<548932, oopDesc *, AccessInternal::B... (1232 times, avg 27 ms) 33151 ms: AccessInternal::atomic_xchg_reduce_types<549892UL, oopDesc *> (1232 times, avg 26 ms) 32612 ms: AccessInternal::BarrierResolver<548932, oopDesc *(*)(void *), Access... (1232 times, avg 26 ms) 32527 ms: AccessInternal::BarrierResolver<548932, oopDesc *(*)(void *), Access... (1232 times, avg 26 ms) 32429 ms: AccessInternal::PreRuntimeDispatch::atomic_xchg<549892UL, oopDesc *> (1232 times, avg 26 ms) 28725 ms: AccessInternal::OopLoadProxy::operator oopDe... (1232 times, avg 23 ms) 28603 ms: AccessInternal::load<331780UL, HeapWordImpl *, oopDesc *> (1232 times, avg 23 ms) 28033 ms: Access<524288>::oop_store (1232 times, avg 22 ms) 27602 ms: Access<262144>::oop_store_at (1232 times, avg 22 ms) 27449 ms: AccessInternal::load_reduce_types<331844UL, oopDesc *> (1232 times, avg 22 ms) 27441 ms: oopDesc::obj_field_access<32768UL> (1232 times, avg 22 ms) 27138 ms: AccessInternal::store<524292UL, oopDesc *, oopDesc *> (1232 times, avg 22 ms) 26866 ms: AccessInternal::PreRuntimeDispatch::load<331846UL, oopDesc *> (1232 times, avg 21 ms) 26846 ms: AccessInternal::RuntimeDispatch<549892, oopDesc *, AccessInternal::B... (1232 times, avg 21 ms) 26677 ms: AccessInternal::store_at<262148UL, oopDesc *> (1232 times, avg 21 ms) 26674 ms: oopDesc::obj_field_access<4096UL> (1232 times, avg 21 ms) 26660 ms: AccessInternal::RuntimeDispatch<549892, oopDesc *, AccessInternal::B... (1232 times, avg 21 ms) 26591 ms: AccessInternal::store_reduce_types<548932UL, oopDesc *> (1232 times, avg 21 ms) 26272 ms: AccessInternal::BarrierResolver<549892, oopDesc *(*)(void *, oopDesc... (1232 times, avg 21 ms) 26227 ms: AccessInternal::BarrierResolver<549892, oopDesc *(*)(void *, oopDesc... (1232 times, avg 21 ms) 26220 ms: AccessInternal::PreRuntimeDispatch::store<548932UL, oopDesc *> (1232 times, avg 21 ms) 26212 ms: AccessInternal::PreRuntimeDispatch::store_at<286790UL, oopDesc *> (1232 times, avg 21 ms) 25740 ms: AccessInternal::OopLoadAtProxy<294912>::operator oopDesc * (1232 times, avg 20 ms) **** Template sets that took longest to instantiate: 371271 ms: AccessInternal::BarrierResolver<$>::resolve_barrier (24728 times, avg 15 ms) 370278 ms: AccessInternal::BarrierResolver<$>::resolve_barrier_rt (24728 times, avg 14 ms) 360495 ms: AccessInternal::BarrierResolver<$>::resolve_barrier_gc<$> (49433 times, avg 7 ms) 314677 ms: AccessInternal::PostRuntimeDispatch<$>::oop_access_barrier (242009 times, avg 1 ms) 178879 ms: AccessInternal::load<$> (12578 times, avg 14 ms) 168238 ms: AccessInternal::PreRuntimeDispatch::load<$> (18748 times, avg 8 ms) 167547 ms: AccessInternal::load_reduce_types<$> (12577 times, avg 13 ms) 142889 ms: AccessInternal::load_at<$> (8632 times, avg 16 ms) 136477 ms: AccessInternal::PreRuntimeDispatch::load_at<$> (8632 times, avg 15 ms) 132331 ms: AccessInternal::RuntimeDispatch<$>::load (7433 times, avg 17 ms) 131446 ms: AccessInternal::RuntimeDispatch<$>::load_init (7433 times, avg 17 ms) 120390 ms: AccessInternal::RuntimeDispatch<$>::load_at (8632 times, avg 13 ms) 119317 ms: AccessInternal::RuntimeDispatch<$>::load_at_init (8632 times, avg 13 ms) 102246 ms: oopDesc::obj_field_access<$> (6162 times, avg 16 ms) 61950 ms: Access<$>::oop_store_at<$> (3704 times, avg 16 ms) 59523 ms: AccessInternal::store_at<$> (3703 times, avg 16 ms) 58191 ms: AccessInternal::PreRuntimeDispatch::store_at<$> (3703 times, avg 15 ms) 52292 ms: BarrierSet::AccessBarrier<$> (148303 times, avg 0 ms) 49882 ms: AccessInternal::RuntimeDispatch<$>::store_at (3702 times, avg 13 ms) 49379 ms: AccessInternal::RuntimeDispatch<$>::store_at_init (3702 times, avg 13 ms) 48285 ms: AccessInternal::PreRuntimeDispatch::store<$> (7489 times, avg 6 ms) 45603 ms: AccessInternal::store<$> (3829 times, avg 11 ms) 45592 ms: Access<$>::oop_store<$> (3825 times, avg 11 ms) 45007 ms: AccessInternal::OopLoadProxy::operator oopDesc * (1232 times, avg 36 ms) 44346 ms: AccessInternal::store_reduce_types<$> (3786 times, avg 11 ms) 40229 ms: ModRefBarrierSet::AccessBarrier<$> (59332 times, avg 0 ms) 39190 ms: RawAccessBarrier<$>::oop_load<$> (34757 times, avg 1 ms) 38582 ms: AccessInternal::RuntimeDispatch<$>::store (2468 times, avg 15 ms) 38274 ms: AccessInternal::RuntimeDispatch<$>::store_init (2468 times, avg 15 ms) 35112 ms: Access<$>::oop_atomic_xchg<$> (1232 times, avg 28 ms) **** Functions that took longest to compile: 2550 ms: State::MachNodeGenerator(int) (/jdk/build/trace/hotspot/variant-server/gensrc/adfiles/ad_x86_gen.cpp) 2539 ms: CompilerToVM::initialize_intrinsics(JVMCIEnv*) (/jdk/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp) 1966 ms: __cxx_global_var_init.6 (/jdk/src/hotspot/share/runtime/vmStructs.cpp) 1217 ms: _GLOBAL__sub_I_vmStructs_jvmci.cpp (/jdk/src/hotspot/share/jvmci/vmStructs_jvmci.cpp) 577 ms: c2v_iterateFrames(JNIEnv_*, _jobject*, _jobjectArray*, _jobjectArray... (/jdk/src/hotspot/share/jvmci/jvmciCompilerToVM.cpp) 537 ms: readConfiguration0(JNIEnv_*, JVMCIEnv*) (/jdk/src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp) 524 ms: JNIJVMCI::initialize_ids(JNIEnv_*) (/jdk/src/hotspot/share/jvmci/jvmciJavaClasses.cpp) 462 ms: VMATree::register_mapping(unsigned long, unsigned long, VMATree::Sta... (/jdk/src/hotspot/share/nmt/vmatree.cpp) 455 ms: schema_extend_event_subklass_bytes(InstanceKlass const*, ClassFilePa... (/jdk/src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp) 453 ms: VM_HeapWalkOperation::doit() (/jdk/src/hotspot/share/prims/jvmtiTagMap.cpp) 438 ms: TemplateTable::initialize() (/jdk/src/hotspot/share/interpreter/templateTable.cpp) 324 ms: PhaseChaitin::Split(unsigned int, ResourceArea*) (/jdk/src/hotspot/share/opto/reg_split.cpp) 262 ms: LibraryCallKit::inline_native_getEventWriter() (/jdk/src/hotspot/share/opto/library_call.cpp) 261 ms: on_backpatching_deprecated(Method const*, JavaThread*) (/jdk/src/hotspot/share/jfr/support/jfrResolution.cpp) 251 ms: JfrStackTrace::record_inner(JavaThread*, frame const&, bool, int, lo... (/jdk/src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.cpp) 231 ms: BCEscapeAnalyzer::iterate_one_block(ciBlock*, BCEscapeAnalyzer::Stat... (/jdk/src/hotspot/share/ci/bcEscapeAnalyzer.cpp) 228 ms: JfrResolution::on_runtime_resolution(CallInfo const&, JavaThread*) (/jdk/src/hotspot/share/jfr/support/jfrResolution.cpp) 222 ms: Matcher::init_first_stack_mask() (/jdk/src/hotspot/share/opto/matcher.cpp) 214 ms: ClassVerifier::verify_method(methodHandle const&, JavaThread*) (/jdk/src/hotspot/share/classfile/verifier.cpp) 210 ms: trace_class_resolution(Klass*) (/jdk/src/hotspot/share/prims/jvm.cpp) 209 ms: StubInfo::populate_stub_tables() (/jdk/src/hotspot/share/runtime/stubInfo.cpp) 204 ms: GraphBuilder::iterate_bytecodes_for_block(int) (/jdk/src/hotspot/share/c1/c1_GraphBuilder.cpp) 193 ms: ConnectionGraph::split_unique_types(GrowableArray&, GrowableA... (/jdk/src/hotspot/share/opto/escape.cpp) 183 ms: ConnectionGraph::compute_escape() (/jdk/src/hotspot/share/opto/escape.cpp) 179 ms: PhaseStringOpts::replace_string_concat(StringConcat*) (/jdk/src/hotspot/share/opto/stringopts.cpp) 176 ms: DefaultMethods::generate_default_methods(InstanceKlass*, GrowableArr... (/jdk/src/hotspot/share/classfile/defaultMethods.cpp) 173 ms: PhaseChaitin::post_allocate_copy_removal() (/jdk/src/hotspot/share/opto/postaloc.cpp) 163 ms: JvmtiExport::post_exception_throw(JavaThread*, Method*, unsigned cha... (/jdk/src/hotspot/share/prims/jvmtiExport.cpp) 158 ms: ShenandoahBarrierC2Support::pin_and_expand(PhaseIdealLoop*) (/jdk/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp) 158 ms: StubGenerator::generate_libmPow() (/jdk/src/hotspot/cpu/x86/stubGenerator_x86_64_pow.cpp) **** Function sets that took longest to compile / optimize: 15495 ms: AccessInternal::PostRuntimeDispatch<$>::oop_access_barrier(void*) (4045 times, avg 3 ms) 5936 ms: JfrEvent<$>::write_sized_event(JfrBuffer*, Thread*, unsigned long, u... (168 times, avg 35 ms) 5230 ms: AccessInternal::PostRuntimeDispatch<$>::oop_access_barrier(oopDesc*,... (1150 times, avg 4 ms) 4999 ms: void OopOopIterateBoundedDispatch<$>::Table::oop_oop_iterate_bounded... (840 times, avg 5 ms) 4877 ms: void OopOopIterateDispatch<$>::Table::oop_oop_iterate<$>(G1CMOopClos... (840 times, avg 5 ms) 4758 ms: LogPrefix<$>::prefix(char*, unsigned long) (6948 times, avg 0 ms) 2434 ms: ZBarrierSet::AccessBarrier<$>::oop_load_in_heap(oopDesc**) (204 times, avg 11 ms) 1773 ms: GrowableArrayWithAllocator<$>::expand_to(int) (420 times, avg 4 ms) 1508 ms: AccessInternal::PostRuntimeDispatch<$>::oop_access_barrier(oopDesc*,... (470 times, avg 3 ms) 1198 ms: void LogImpl<$>::write<$>(char const*, ...) (760 times, avg 1 ms) 950 ms: void OopOopIterateDispatch<$>::Table::oop_oop_iterate<$>(G1MarkAndPu... (84 times, avg 11 ms) 910 ms: AccessInternal::RuntimeDispatch<$>::load_init(void*) (408 times, avg 2 ms) 612 ms: JfrEvent<$>::commit() (136 times, avg 4 ms) 584 ms: void OopOopIterateBackwardsDispatch<$>::Table::oop_oop_iterate_backw... (56 times, avg 10 ms) 580 ms: GrowableArrayWithAllocator<$>::shrink_to_fit() (84 times, avg 6 ms) 570 ms: AccessInternal::PostRuntimeDispatch<$>::oop_access_barrier(void*, oo... (345 times, avg 1 ms) 559 ms: void OopOopIterateBoundedDispatch<$>::Table::init<$>(G1CMOopClosure*... (420 times, avg 1 ms) 555 ms: void OopOopIterateDispatch<$>::Table::init<$>(G1CMOopClosure*, oopDe... (420 times, avg 1 ms) 518 ms: void OopOopIterateBoundedDispatch<$>::Table::oop_oop_iterate_bounded... (56 times, avg 9 ms) 470 ms: void ShenandoahMark::do_task<$>(Padded<$>*, ShenandoahMarkRefsClosur... (12 times, avg 39 ms) 454 ms: void ShenandoahMark::mark_loop_work<$>(ShenandoahMarkRefsClosure<$>*... (24 times, avg 18 ms) 449 ms: void OopOopIterateDispatch<$>::Table::oop_oop_iterate<$>(ShenandoahU... (56 times, avg 8 ms) 383 ms: void OopOopIterateDispatch<$>::Table::oop_oop_iterate<$>(ShenandoahM... (70 times, avg 5 ms) 379 ms: WriterHost<$>::write_utf8(char const*) (32 times, avg 11 ms) 367 ms: void ShenandoahMark::do_task<$>(Padded<$>*, ShenandoahMarkUpdateRefs... (9 times, avg 40 ms) 347 ms: void ShenandoahMark::mark_loop_work<$>(ShenandoahMarkUpdateRefsClosu... (18 times, avg 19 ms) 333 ms: bool ShenandoahBarrierSet::AccessBarrier<$>::oop_arraycopy_in_heap<$... (7 times, avg 47 ms) 324 ms: void OopOopIterateDispatch<$>::Table::oop_oop_iterate<$>(ShenandoahM... (56 times, avg 5 ms) 305 ms: void CopySwap::do_conjoint_swap<$>(void const*, void*, unsigned long... (4 times, avg 76 ms) 303 ms: bool ShenandoahBarrierSet::AccessBarrier<$>::oop_arraycopy_in_heap<$... (7 times, avg 43 ms) **** Expensive headers: 45355 ms: /jdk/build/trace/hotspot/variant-server/gensrc/adfiles/ad_x86.hpp (included 39 times, avg 1162 ms), included via: 11x: output.hpp ad.hpp 10x: 10x: ad_x86.hpp output.hpp ad.hpp 6x: ad.hpp 2x: c2_CodeStubs.hpp output.hpp ad.hpp 31785 ms: /jdk/build/trace/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp (included 130 times, avg 244 ms), included via: 69x: jfrEvents.hpp 17x: shenandoahClosures.inline.hpp shenandoahMark.inline.hpp shenandoahUtils.hpp shenandoahPhaseTimings.hpp jfrEvents.hpp 10x: shenandoahUtils.hpp shenandoahPhaseTimings.hpp jfrEvents.hpp 6x: shenandoahYoungGeneration.hpp shenandoahYoungHeuristics.hpp shenandoahGenerationalHeuristics.hpp shenandoahAdaptiveHeuristics.hpp shenandoahPhaseTimings.hpp jfrEvents.hpp 5x: shenandoahYoungHeuristics.hpp shenandoahGenerationalHeuristics.hpp shenandoahAdaptiveHeuristics.hpp shenandoahPhaseTimings.hpp jfrEvents.hpp 5x: g1GCParPhaseTimesTracker.hpp jfrEvents.hpp ... 31130 ms: /jdk/src/hotspot/share/jfr/jfrEvents.hpp (included 127 times, avg 245 ms), included via: 69x: 17x: shenandoahClosures.inline.hpp shenandoahMark.inline.hpp shenandoahUtils.hpp shenandoahPhaseTimings.hpp 10x: shenandoahUtils.hpp shenandoahPhaseTimings.hpp 6x: shenandoahYoungGeneration.hpp shenandoahYoungHeuristics.hpp shenandoahGenerationalHeuristics.hpp shenandoahAdaptiveHeuristics.hpp shenandoahPhaseTimings.hpp 5x: shenandoahYoungHeuristics.hpp shenandoahGenerationalHeuristics.hpp shenandoahAdaptiveHeuristics.hpp shenandoahPhaseTimings.hpp 5x: g1GCParPhaseTimesTracker.hpp ... 28948 ms: /jdk/src/hotspot/share/opto/node.hpp (included 126 times, avg 229 ms), included via: 32x: addnode.hpp 19x: barrierSetC2.hpp loopnode.hpp cfgnode.hpp multnode.hpp 9x: ad_x86.hpp machnode.hpp callnode.hpp connode.hpp 8x: runtime.hpp machnode.hpp callnode.hpp connode.hpp 5x: callnode.hpp connode.hpp 5x: block.hpp multnode.hpp ... 27911 ms: /jdk/src/hotspot/share/opto/ad.hpp (included 29 times, avg 962 ms), included via: 11x: output.hpp 10x: ad_x86.hpp output.hpp 6x: 2x: c2_CodeStubs.hpp output.hpp 20575 ms: /jdk/src/hotspot/share/opto/output.hpp (included 29 times, avg 709 ms), included via: 11x: 10x: ad_x86.hpp 6x: ad.hpp ad_x86.hpp 2x: c2_CodeStubs.hpp 18287 ms: /jdk/src/hotspot/share/opto/compile.hpp (included 128 times, avg 142 ms), included via: 32x: addnode.hpp node.hpp 19x: barrierSetC2.hpp loopnode.hpp cfgnode.hpp multnode.hpp node.hpp 10x: 9x: ad_x86.hpp output.hpp c2_CodeStubs.hpp 7x: runtime.hpp machnode.hpp callnode.hpp connode.hpp node.hpp 5x: callnode.hpp connode.hpp node.hpp ... 18083 ms: /jdk/src/hotspot/share/gc/shared/c2/barrierSetC2.hpp (included 71 times, avg 254 ms), included via: 19x: 11x: parse.hpp graphKit.hpp 10x: ad_x86.hpp shenandoahSupport.hpp graphKit.hpp 5x: arraycopynode.hpp 5x: output.hpp ad.hpp ad_x86.hpp shenandoahSupport.hpp graphKit.hpp 3x: shenandoahBarrierSetC2.hpp ... 17216 ms: /jdk/src/hotspot/share/opto/loopnode.hpp (included 91 times, avg 189 ms), included via: 19x: barrierSetC2.hpp 11x: parse.hpp graphKit.hpp barrierSetC2.hpp 10x: ad_x86.hpp vectornode.hpp 9x: 6x: rootnode.hpp 5x: arraycopynode.hpp barrierSetC2.hpp ... 14244 ms: /jdk/src/hotspot/share/ci/ciEnv.hpp (included 254 times, avg 56 ms), included via: 33x: compileBroker.hpp compilerInterface.hpp 27x: addnode.hpp node.hpp compile.hpp compilerInterface.hpp 19x: ciUtilities.inline.hpp ciUtilities.hpp 15x: compilationPolicy.hpp compileBroker.hpp compilerInterface.hpp 12x: barrierSetC2.hpp loopnode.hpp cfgnode.hpp multnode.hpp node.hpp compile.hpp compilerInterface.hpp 9x: ad_x86.hpp output.hpp c2_CodeStubs.hpp compile.hpp compilerInterface.hpp ... done in 2.4s.