The workaround helps a lot already, but it is still incomplete in light of
We do this workaround even if unnecessary (when THPs are disabled on the system). And we may use the wrong page size when multiple *static* hugepage sizes are configured on the system, which may make the fix ineffectual for java threads (e.g. THP assumes lp size is 1G, causing the condition in os::create_thread to fail).
I am working on a solution for