Added support for optimized SIMD operations (#1570)

This commit is contained in:
Mathéo CIMBARO
2022-06-17 01:19:15 +02:00
committed by GitHub
parent 23c8fc65a4
commit a84cdaf355
2 changed files with 14 additions and 0 deletions

View File

@@ -1570,6 +1570,14 @@ To enable the JVM flags required to fully support the [Flare profiling suite](ht
Flare is built-in to Airplane/Pufferfish/Purpur, and is available in [plugin form](https://github.com/TECHNOVE/FlarePlugin) for other server types.
### Enable support for optimized SIMD operations
To enable support for optimized SIMD operations, the JVM flag can be set with the following variable:
-e USE_SIMD_FLAGS=true
SIMD optimized operations are supported by Pufferfish and Purpur.
### Enable timestamps in init logs
Before the container starts the Minecraft Server its output is prefixed with `[init]`, such as

View File

@@ -186,6 +186,12 @@ if isTrue "${USE_FLARE_FLAGS}"; then
"
fi
if isTrue "${USE_SIMD_FLAGS}"; then
JVM_XX_OPTS="${JVM_XX_OPTS}
--add-modules=jdk.incubator.vector
"
fi
if isTrue "${DEBUG_MEMORY}"; then
log "Memory usage and availability (in MB)"
uname -a