Skip to content

Commit a32f90e

Browse files
committed
Document sun-misc-unsafe-memory-access
1 parent ee5a125 commit a32f90e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/go/args/java_static_config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import "runtime"
44

55
var rewriteBytecodes = onArm64Only("-XX:-RewriteBytecodes") // https://bugs.openjdk.org/browse/JDK-8369506
66
const vectorApiIncubating = "--add-modules=jdk.incubator.vector"
7+
8+
// https://openjdk.org/jeps/498, allows deprecated unsafe usage
79
const allowUnsafeUsage = "--sun-misc-unsafe-memory-access=allow"
810

911
// https://openjdk.org/jeps/472, allows native libraries to be loaded from unnamed modules

0 commit comments

Comments
 (0)