On Mon, 10 Mar 2025 18:11:23 GMT, Per Minborg <pminb...@openjdk.org> wrote:
> Implement JEP 502. > > The PR passes tier1-tier3 tests. Here are the current benchmarks for Mac M1: Benchmark Mode Cnt Score Error Units StableFunctionBenchmark.function avgt 10 4.071 ? 0.252 ns/op StableFunctionBenchmark.stable avgt 10 4.107 ? 0.065 ns/op StableFunctionBenchmark.staticIntFunction avgt 10 2.688 ? 1.647 ns/op StableFunctionBenchmark.staticStable avgt 10 1.708 ? 0.278 ns/op StableIntFunctionBenchmark.intFunction avgt 10 1.528 ? 0.040 ns/op StableIntFunctionBenchmark.stable avgt 10 1.515 ? 0.019 ns/op StableIntFunctionBenchmark.staticIntFunction avgt 10 1.047 ? 0.023 ns/op StableIntFunctionBenchmark.staticStable avgt 10 1.056 ? 0.045 ns/op StableSupplierBenchmark.stable avgt 10 1.411 ? 0.127 ns/op StableSupplierBenchmark.supplier avgt 10 1.676 ? 0.055 ns/op StableValueBenchmark.atomic avgt 10 1.404 ? 0.061 ns/op StableValueBenchmark.dcl avgt 10 1.398 ? 0.037 ns/op StableValueBenchmark.refSupplier avgt 10 0.498 ? 0.077 ns/op StableValueBenchmark.stable avgt 10 1.406 ? 0.053 ns/op StableValueBenchmark.stableNull avgt 10 1.279 ? 0.062 ns/op StableValueBenchmark.staticAtomic avgt 10 1.228 ? 0.060 ns/op StableValueBenchmark.staticDcl avgt 10 0.342 ? 0.005 ns/op StableValueBenchmark.staticHolder avgt 10 0.342 ? 0.006 ns/op StableValueBenchmark.staticStable avgt 10 0.348 ? 0.015 ns/op `` ------------- PR Comment: https://git.openjdk.org/jdk/pull/23972#issuecomment-2713007259