equal
deleted
inserted
replaced
36 } |
36 } |
37 |
37 |
38 void EpsilonArguments::initialize_flags() { |
38 void EpsilonArguments::initialize_flags() { |
39 GCArguments::initialize_flags(); |
39 GCArguments::initialize_flags(); |
40 |
40 |
41 assert(UseEpsilonGC, "Error"); |
41 assert(UseEpsilonGC || UseNoGC, "Error"); |
|
42 |
|
43 // UseNoGC is the alias, drop and replace it with the a single option: |
|
44 // the rest of the code can use UseEpsilonGC then. |
|
45 if (UseNoGC) { |
|
46 FLAG_SET_DEFAULT(UseEpsilonGC, true); |
|
47 FLAG_SET_DEFAULT(UseNoGC, false); |
|
48 } |
42 |
49 |
43 // Forcefully exit when OOME is detected. Nothing we can do at that point. |
50 // Forcefully exit when OOME is detected. Nothing we can do at that point. |
44 if (FLAG_IS_DEFAULT(ExitOnOutOfMemoryError)) { |
51 if (FLAG_IS_DEFAULT(ExitOnOutOfMemoryError)) { |
45 FLAG_SET_DEFAULT(ExitOnOutOfMemoryError, true); |
52 FLAG_SET_DEFAULT(ExitOnOutOfMemoryError, true); |
46 } |
53 } |