[2023-04-18T08:23:01,160Z] open/src/hotspot/share/runtime/arguments.cpp:2346: error: undefined reference to 'JvmtiAgentList::add_xrun(char const*, char*, bool)'
[2023-04-18T08:23:01,164Z] open/src/hotspot/share/runtime/arguments.cpp:2418: error: undefined reference to 'JvmtiAgentList::add(char const*, char*, bool)'
[2023-04-18T08:23:04,275Z] open/src/hotspot/share/runtime/java.cpp:520: error: undefined reference to 'JvmtiAgentList::unload_agents()'
[2023-04-18T08:23:04,754Z] open/src/hotspot/share/prims/nativeLookup.cpp:289: error: undefined reference to 'JvmtiAgentList::agents()'
[2023-04-18T08:23:04,754Z] open/src/hotspot/share/prims/nativeLookup.cpp:291: error: undefined reference to 'JvmtiAgentList::Iterator::next()'
[2023-04-18T08:23:04,754Z] open/src/hotspot/share/prims/nativeLookup.cpp:291: error: undefined reference to 'JvmtiAgent::os_lib() const'
[2023-04-18T08:23:04,754Z] open/src/hotspot/share/prims/nativeLookup.cpp:290: error: undefined reference to 'JvmtiAgentList::Iterator::has_next() const'
[2023-04-18T08:23:04,754Z] open/src/hotspot/share/prims/nativeLookup.cpp:296: error: undefined reference to 'JvmtiAgentList::Iterator::~Iterator()'
[2023-04-18T08:23:04,758Z] open/src/hotspot/share/prims/nativeLookup.cpp:296: error: undefined reference to 'JvmtiAgentList::Iterator::~Iterator()'
[2023-04-18T08:23:04,826Z] open/src/hotspot/share/runtime/os.cpp:542: error: undefined reference to 'JvmtiAgent::os_lib() const'
[2023-04-18T08:23:04,826Z] open/src/hotspot/share/runtime/os.cpp:549: error: undefined reference to 'JvmtiAgent::is_static_lib() const'
[2023-04-18T08:23:04,826Z] open/src/hotspot/share/runtime/os.cpp:549: error: undefined reference to 'JvmtiAgent::name() const'
[2023-04-18T08:23:04,830Z] open/src/hotspot/share/runtime/os.cpp:551: error: undefined reference to 'JvmtiAgent::is_absolute_path() const'
[2023-04-18T08:23:04,830Z] open/src/hotspot/share/runtime/os.cpp:572: error: undefined reference to 'JvmtiAgent::name() const'
[2023-04-18T08:23:04,830Z] open/src/hotspot/share/runtime/os.cpp:577: error: undefined reference to 'JvmtiAgent::os_lib() const'
[2023-04-18T08:23:04,830Z] open/src/hotspot/share/runtime/os.cpp:579: error: undefined reference to 'JvmtiAgent::set_os_lib(void*)'
[2023-04-18T08:23:04,830Z] open/src/hotspot/share/runtime/os.cpp:542: error: undefined reference to 'JvmtiAgent::os_lib() const'
[2023-04-18T08:23:04,831Z] open/src/hotspot/share/runtime/os.cpp:549: error: undefined reference to 'JvmtiAgent::name() const'
[2023-04-18T08:23:04,832Z] open/src/hotspot/share/runtime/os.cpp:551: error: undefined reference to 'JvmtiAgent::is_absolute_path() const'
[2023-04-18T08:23:04,835Z] open/src/hotspot/share/runtime/os.cpp:587: error: undefined reference to 'JvmtiAgent::set_os_lib(void*)'
[2023-04-18T08:23:04,835Z] open/src/hotspot/share/runtime/os.cpp:583: error: undefined reference to 'JvmtiAgent::set_static_lib()'
[2023-04-18T08:23:04,835Z] open/src/hotspot/share/runtime/os.cpp:584: error: undefined reference to 'JvmtiAgent::set_loaded()'
[2023-04-18T08:23:05,415Z] open/src/hotspot/share/runtime/threads.cpp:500: error: undefined reference to 'JvmtiAgentList::load_agents()'
[2023-04-18T08:23:05,419Z] open/src/hotspot/share/runtime/threads.cpp:617: error: undefined reference to 'JvmtiAgentList::load_xrun_agents()'
[2023-04-18T08:23:05,419Z] open/src/hotspot/share/runtime/threads.cpp:657: error: undefined reference to 'JvmtiAgentList::load_xrun_agents()'
The refactoring is missing conditionals for embedded builds.