Skip to content

Commit

Permalink
IGNITE-14720 Remove suggestion about '-XX:+DisableExplicitGC' option -
Browse files Browse the repository at this point in the history
…Fixes apache#9096.

Signed-off-by: Ilya Kasnacheev <[email protected]>
  • Loading branch information
solveme authored and alamar committed May 19, 2021
1 parent 626168e commit cad0e8f
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ public class JvmConfigurationSuggestions {
/** */
private static final String MAX_DIRECT_MEMORY_SIZE = "-XX:MaxDirectMemorySize";

/** */
private static final String DISABLE_EXPLICIT_GC = "-XX:+DisableExplicitGC";

/** */
private static final String NOT_USE_TLAB = "-XX:-UseTLAB";

Expand Down Expand Up @@ -77,9 +74,6 @@ public static synchronized List<String> getSuggestions() {
if (args.contains(NOT_USE_TLAB))
suggestions.add("Enable thread-local allocation buffer (add '-XX:+UseTLAB' to JVM options)");

if (!args.contains(DISABLE_EXPLICIT_GC))
suggestions.add("Disable processing of calls to System.gc() (add '" + DISABLE_EXPLICIT_GC + "' to JVM options)");

return suggestions;
}

Expand Down

0 comments on commit cad0e8f

Please sign in to comment.