On Fri, 2 Apr 2021 15:12:04 GMT, Vladimir Ivanov <vliva...@openjdk.org> wrote:
>> That's what I thought as well (but not 100% sure). I can partially roll back >> the last commit so the code still uses an injected array constructor handle, >> and then it should be easy to add caching in the cases where the component >> type is a reference type. > > Whatever you prefer. I'm fine with it either way. I found it easier to add sharing now, since it makes the intrinsic redundant (and it can be removed again). ------------- PR: https://git.openjdk.java.net/jdk/pull/3306