There are 2 issues here:

- The markword of an allocation is set incorrectly during 
GraphKit::set_outputs_for_allocation
- Compile::adjust_flat_array_access_aliases does not work when there is no 
MemNode into flat arrays, but we can have allocations, which introduce 
NarrowMemProjs, and in that case we need to handle it, too.

This PR solves these issues, most of the changes are identation changes only.

Please kindly review, thanks a lot.

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

Commit messages:
 - Fix incorrect markword projection of allocations, fix 
Compile::adjust_flat_array_access_aliases when there is no MemNode

Changes: https://git.openjdk.org/valhalla/pull/1873/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1873&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8372259
  Stats: 332 lines in 4 files changed: 75 ins; 82 del; 175 mod
  Patch: https://git.openjdk.org/valhalla/pull/1873.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1873/head:pull/1873

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

Reply via email to