RFR: 8293046: Move CDS command-line flags to cds_globals.hpp

Calvin Cheung ccheung at openjdk.org
Tue Aug 30 05:14:17 UTC 2022


On Mon, 29 Aug 2022 22:59:03 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Flags like `VerifySharedSpaces`, `SharedBaseAddress`, `DumpLoadedClassList`, etc, should be moved from globals.hpp to a new file, src/hotspot/share/cds/cds_globals.hpp

I spotted a minor pre-existing issue in thread.cpp.

src/hotspot/share/runtime/threads.cpp line 28:

> 26: #include "precompiled.hpp"
> 27: #include "jvm.h"
> 28: #include "cds/cds_globals.hpp"

Pre-existing:
`83 #include "services/threadIdTable.hpp"`
should be moved after
`92 #include "services/memTracker.hpp"`

-------------

PR: https://git.openjdk.org/jdk/pull/10073


More information about the hotspot-runtime-dev mailing list