comparison src/share/vm/runtime/java.hpp @ 6064:9d679effd28c

7166894: Add gc cause to GC logging for all collectors Reviewed-by: mgerdin, johnc
author brutisso
date Tue, 15 May 2012 10:25:06 +0200
parents eca1193ca245
children f8de958e5b2c
comparison
equal deleted inserted replaced
6063:cdfa5139bd58 6064:9d679effd28c
204 204
205 static bool is_jdk17x_version() { 205 static bool is_jdk17x_version() {
206 return current().compare_major(7) == 0; 206 return current().compare_major(7) == 0;
207 } 207 }
208 208
209 static bool is_jdk18x_version() {
210 return current().compare_major(8) == 0;
211 }
212
209 static bool is_gte_jdk13x_version() { 213 static bool is_gte_jdk13x_version() {
210 return current().compare_major(3) >= 0; 214 return current().compare_major(3) >= 0;
211 } 215 }
212 216
213 static bool is_gte_jdk14x_version() { 217 static bool is_gte_jdk14x_version() {
223 } 227 }
224 228
225 static bool is_gte_jdk17x_version() { 229 static bool is_gte_jdk17x_version() {
226 return current().compare_major(7) >= 0; 230 return current().compare_major(7) >= 0;
227 } 231 }
232
233 static bool is_gte_jdk18x_version() {
234 return current().compare_major(8) >= 0;
235 }
228 }; 236 };
229 237
230 #endif // SHARE_VM_RUNTIME_JAVA_HPP 238 #endif // SHARE_VM_RUNTIME_JAVA_HPP