Integrated: 8286756: Cleanup foreign API benchmarks
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Mon May 16 20:59:41 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.
This pull request has now been integrated.
Changeset: 40f4dabc
Author: Maurizio Cimadamore <mcimadamore at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/40f4dabce8f6f13cf1c78354a2a1f3d8d7887e19
Stats: 204 lines in 13 files changed: 54 ins; 69 del; 81 mod
8286756: Cleanup foreign API benchmarks
Reviewed-by: jvernee
-------------
PR: https://git.openjdk.java.net/jdk/pull/8705
More information about the core-libs-dev
mailing list