> Hi, > > The load to FlatArrayKlass::_layout_kind can be constant-folded if the > receiver is a constant. This eliminates all checks when the array type is > known statically or speculated correctly. > > Please leave your reviews, thanks a lot.
Quan Anh Mai has updated the pull request incrementally with two additional commits since the last revision: - grammar - add comments ------------- Changes: - all: https://git.openjdk.org/valhalla/pull/1687/files - new: https://git.openjdk.org/valhalla/pull/1687/files/1c670353..d3fb5867 Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=1687&range=01 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1687&range=00-01 Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod Patch: https://git.openjdk.org/valhalla/pull/1687.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1687/head:pull/1687 PR: https://git.openjdk.org/valhalla/pull/1687
