equal
deleted
inserted
replaced
23 # questions. |
23 # questions. |
24 # |
24 # |
25 |
25 |
26 # All valid JVM features, regardless of platform |
26 # All valid JVM features, regardless of platform |
27 VALID_JVM_FEATURES="compiler1 compiler2 zero minimal dtrace jvmti jvmci \ |
27 VALID_JVM_FEATURES="compiler1 compiler2 zero minimal dtrace jvmti jvmci \ |
28 graal vm-structs jni-check services management cmsgc g1gc parallelgc serialgc epsilongc nmt cds \ |
28 graal vm-structs jni-check services management cmsgc epsilongc g1gc parallelgc serialgc zgc nmt cds \ |
29 static-build link-time-opt aot jfr" |
29 static-build link-time-opt aot jfr" |
30 |
30 |
31 # Deprecated JVM features (these are ignored, but with a warning) |
31 # Deprecated JVM features (these are ignored, but with a warning) |
32 DEPRECATED_JVM_FEATURES="trace" |
32 DEPRECATED_JVM_FEATURES="trace" |
33 |
33 |
326 if test "x$OPENJDK_TARGET_OS" != xlinux || test "x$OPENJDK_TARGET_CPU" != xsparcv9; then |
326 if test "x$OPENJDK_TARGET_OS" != xlinux || test "x$OPENJDK_TARGET_CPU" != xsparcv9; then |
327 NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES jfr" |
327 NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES jfr" |
328 fi |
328 fi |
329 fi |
329 fi |
330 |
330 |
|
331 # Only enable ZGC on Linux x86_64 |
|
332 AC_MSG_CHECKING([if zgc should be built]) |
|
333 if HOTSPOT_CHECK_JVM_FEATURE(zgc); then |
|
334 if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then |
|
335 AC_MSG_RESULT([yes]) |
|
336 else |
|
337 DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES zgc" |
|
338 AC_MSG_RESULT([no, platform not supported]) |
|
339 fi |
|
340 else |
|
341 AC_MSG_RESULT([no]) |
|
342 fi |
|
343 |
331 # Turn on additional features based on other parts of configure |
344 # Turn on additional features based on other parts of configure |
332 if test "x$INCLUDE_DTRACE" = "xtrue"; then |
345 if test "x$INCLUDE_DTRACE" = "xtrue"; then |
333 JVM_FEATURES="$JVM_FEATURES dtrace" |
346 JVM_FEATURES="$JVM_FEATURES dtrace" |
334 else |
347 else |
335 if HOTSPOT_CHECK_JVM_FEATURE(dtrace); then |
348 if HOTSPOT_CHECK_JVM_FEATURE(dtrace); then |