From f80aa65fe96f0804a0877f2602b7ae0f32ea49f9 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Mon, 7 Nov 2016 15:50:06 -0500 Subject: [PATCH] Remove JDK 7 checks from JVMCheck This commit removes checks for buggy JDK 7 JVMs from the JVM check as Elasticsearch does not support JDK 7. Relates #21381 --- .../src/main/java/org/elasticsearch/bootstrap/JVMCheck.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/bootstrap/JVMCheck.java b/core/src/main/java/org/elasticsearch/bootstrap/JVMCheck.java index c367b38a79b..fd7c9c4b20b 100644 --- a/core/src/main/java/org/elasticsearch/bootstrap/JVMCheck.java +++ b/core/src/main/java/org/elasticsearch/bootstrap/JVMCheck.java @@ -174,12 +174,6 @@ final class JVMCheck { static { Map bugs = new HashMap<>(); - // 1.7.0: loop optimizer bug - bugs.put("21.0-b17", new HotspotBug("https://bugs.openjdk.java.net/browse/JDK-7070134", "-XX:-UseLoopPredicate")); - // register allocation issues (technically only x86/amd64). This impacted update 40, 45, and 51 - bugs.put("24.0-b56", new HotspotBug("https://bugs.openjdk.java.net/browse/JDK-8024830", "-XX:-UseSuperWord")); - bugs.put("24.45-b08", new HotspotBug("https://bugs.openjdk.java.net/browse/JDK-8024830", "-XX:-UseSuperWord")); - bugs.put("24.51-b03", new HotspotBug("https://bugs.openjdk.java.net/browse/JDK-8024830", "-XX:-UseSuperWord")); G1GCCheck g1GcCheck = new G1GCCheck(); bugs.put("25.0-b70", g1GcCheck); bugs.put("25.11-b03", g1GcCheck);