This is the first step for JDK-8318483:
- Remove Arguments::is_dumping_archive() and Arguments assert_is_dumping_archive()
- Add the following new APIs
class CDSConfig {
static bool is_dumping_archive();
static bool is_dumping_static_archive();
static bool is_dumping_dynamic_archive();
static bool is_dumping_heap();
};
- Convert some use of DumpSharedSpaces and DynamicDumpSharedSpaces to these new APIs
(More APIs will be added in future sub tasks ofJDK-8318483)
- Remove Arguments::is_dumping_archive() and Arguments assert_is_dumping_archive()
- Add the following new APIs
class CDSConfig {
static bool is_dumping_archive();
static bool is_dumping_static_archive();
static bool is_dumping_dynamic_archive();
static bool is_dumping_heap();
};
- Convert some use of DumpSharedSpaces and DynamicDumpSharedSpaces to these new APIs
(More APIs will be added in future sub tasks of