RFR: 8257622: MemoryAccess methods are missing @ForceInline annotations

Maurizio Cimadamore mcimadamore at openjdk.java.net
Wed Dec 2 18:52:18 UTC 2020


The accessor methods in the `MemoryAccess` class are missing `@ForceInline` annotations. This causes odd behavior on certain benchmarks, especially if these methods are called many times in the body of a single method.

-------------

Commit messages:
 - Add new benchmarks
 - Add @ForceInline annotations

Changes: https://git.openjdk.java.net/jdk/pull/1570/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1570&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8257622
  Stats: 325 lines in 3 files changed: 325 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1570.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1570/head:pull/1570

PR: https://git.openjdk.java.net/jdk/pull/1570


More information about the core-libs-dev mailing list