> The addition of the NULLABLE_NON_ATOMIC_FLAT layout forced the addition of a 
> null-marker in all value classes instances, causing a instance size increase 
> for value classes which didn't supported any nullable layout before. This 
> size increase caused some performance regressions which boxing classes Double 
> and Long. This patch temporarily disables the support for the 
> NULLABLE_NON_ATOMIC_FLAT layout in classes Long and Double. A longer term 
> solution will be developed and is tracked by JDK-8382361.
> 
> Tested on Mach5: tiers 1-4
> Thanks to @dafedafe for measuring the performance with the fix.
> 
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Frederic Parain has updated the pull request incrementally with one additional 
commit since the last revision:

  Fix typo

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/2331/files
  - new: https://git.openjdk.org/valhalla/pull/2331/files/70d965da..39855a48

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2331&range=01
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2331&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/valhalla/pull/2331.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2331/head:pull/2331

PR: https://git.openjdk.org/valhalla/pull/2331

Reply via email to