mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 13:54:38 +02:00
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS. Reviewed-by: coleenp, stefank
This commit is contained in:
parent
1c9730cfb8
commit
698fba94ef
119 changed files with 560 additions and 447 deletions
|
@ -130,23 +130,23 @@
|
|||
#endif // INCLUDE_MANAGEMENT
|
||||
|
||||
/*
|
||||
* When INCLUDE_ALTERNATE_GCS is false the only garbage collectors
|
||||
* When INCLUDE_ALL_GCS is false the only garbage collectors
|
||||
* included in the JVM are defaultNewGeneration and markCompact.
|
||||
*
|
||||
* When INCLUDE_ALTERNATE_GCS is true all garbage collectors are
|
||||
* When INCLUDE_ALL_GCS is true all garbage collectors are
|
||||
* included in the JVM.
|
||||
*/
|
||||
#ifndef INCLUDE_ALTERNATE_GCS
|
||||
#define INCLUDE_ALTERNATE_GCS 1
|
||||
#endif // INCLUDE_ALTERNATE_GCS
|
||||
#ifndef INCLUDE_ALL_GCS
|
||||
#define INCLUDE_ALL_GCS 1
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
#if INCLUDE_ALTERNATE_GCS
|
||||
#define NOT_ALTERNATE_GCS_RETURN /* next token must be ; */
|
||||
#define NOT_ALTERNATE_GCS_RETURN_(code) /* next token must be ; */
|
||||
#if INCLUDE_ALL_GCS
|
||||
#define NOT_ALL_GCS_RETURN /* next token must be ; */
|
||||
#define NOT_ALL_GCS_RETURN_(code) /* next token must be ; */
|
||||
#else
|
||||
#define NOT_ALTERNATE_GCS_RETURN {}
|
||||
#define NOT_ALTERNATE_GCS_RETURN_(code) { return code; }
|
||||
#endif // INCLUDE_ALTERNATE_GCS
|
||||
#define NOT_ALL_GCS_RETURN {}
|
||||
#define NOT_ALL_GCS_RETURN_(code) { return code; }
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
#ifndef INCLUDE_NMT
|
||||
#define INCLUDE_NMT 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue