< prev index next > src/hotspot/share/runtime/threads.cpp
Print this page
#include "runtime/rtmLocking.hpp"
#endif
#if INCLUDE_JFR
#include "jfr/jfr.hpp"
#endif
+ #if INCLUDE_VM_STRUCTS
+ #include "runtime/vmStructs.hpp"
+ #endif
// Initialization after module runtime initialization
void universe_post_module_init(); // must happen after call_initPhase2
if (adjust_after_os_result != JNI_OK) return adjust_after_os_result;
// Initialize output stream logging
ostream_init_log();
+ // Should happen before any agent attaches and pokes into vmStructs
+ #if INCLUDE_VM_STRUCTS
+ if (UseCompactObjectHeaders) {
+ VMStructs::compact_headers_overrides();
+ }
+ #endif
+
// Launch -agentlib/-agentpath and converted -Xrun agents
JvmtiAgentList::load_agents();
// Initialize Threads state
_number_of_threads = 0;
< prev index next >