Skip to content

Commit a7e37b4

Browse files
author
FastJava Team
committed
Auto Update
1 parent 84f2418 commit a7e37b4

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

REFERENCE.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# FastJava Reference
2+
3+
## 1. CPU Feature Model
4+
* **AVX2** — detected via CPUID. Enables 32-byte vector ops.
5+
* **SSE4.2** — detected via CPUID. 16-byte fallback.
6+
* **Fallback rule**: AVX2 → SSE4.2 → scalar.
7+
8+
## 2. Guarantees
9+
* **Zero-Copy**: All operations use `GetPrimitiveArrayCritical` for direct memory access.
10+
* **Unaligned Access**: Safe on all byte boundaries.
11+
* **Thread-Safety**: All static native methods are thread-safe.
12+
13+
## 3. JNI & Memory Contracts
14+
* **Direct Memory Pinning**: No implicit copies are made by the JNI bridge.
15+
* **No Allocation**: All operations work on pre-allocated Java arrays or buffers.
16+
* **Critical Sections**: Native calls minimize blocking to prevent GC impact.
17+
18+
## 4. Platform Support
19+
| Platform | Status |
20+
|----------|--------|
21+
| Windows 10/11 (x64) | ✅ Fully Supported |
22+
23+
---
24+
**Part of the FastJava Ecosystem***Making the JVM faster.*
25+
26+
Made with ⚡ by Andre Stubbe

0 commit comments

Comments
 (0)