File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments