RFR: 8286756: Cleanup foreign API benchmarks
Jorn Vernee
jvernee at openjdk.java.net
Mon May 16 16:45:40 UTC 2022
On Fri, 13 May 2022 15:48:29 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> This simple patch regularizes some of the foreign API benchmarks. Some of the changes are:
>
> * use of capital names for var handle and layout constants
> * move shared layout and var handle constants in a new superclass, `JavaLayouts`
> * regularize aligned vs. unaligned benchmarks, especially in `LoopOverNonConstantHeap`. Since the API now aligns layouts by default, where the benchmark name doesn't say anything we assume aligned layout; for benchmarks that test specifically the use of unaligned layouts, we use the `_unaligned` prefix.
Marked as reviewed by jvernee (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/8705
More information about the core-libs-dev
mailing list