https://github.com/marschall/memory-model-demo
https://github.com/marschall/memory-model-demo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/marschall/memory-model-demo
- Owner: marschall
- Created: 2020-06-30T07:51:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-12T07:59:59.000Z (almost 5 years ago)
- Last Synced: 2025-01-16T02:45:04.148Z (4 months ago)
- Language: Java
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Java implementation of Nick Wilcox's [Examining ARM vs X86 Memory Models with Rust](https://www.nickwilcox.com/blog/arm_vs_x86_memory_model/)
Native Image
------------Be sure to run
```
gu install native-image
```Epsilon GC
----------```
java -Xmx64m -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -jar target/memory-model-demo-0.1.0-SNAPSHOT.jar
```JIT Watch
---------```
java -Xmx64m -XX:+UnlockDiagnosticVMOptions -XX:+TraceClassLoading -XX:+LogCompilation -XX:+PrintAssembly -jar target/memory-model-demo-0.1.0-SNAPSHOT.jar
```