RFR(S): 8155241: Crash with assert in Xcomp mode and with disabled ReduceBulkZeroing
tobias.hartmann at oracle.com
Tue May 10 10:26:19 UTC 2016
please review the following patch:
JDK-8076188 introduced code that eliminates an arraycopy if the destination is non escaping. The newly added LoadNode::find_previous_arraycopy() assumes that a clonebasic arraycopy that overwrites a newly allocated array always sets the corresponding InitializeNode to "complete", i.e., takes care of zeroing the array. However, this is only the case if ReduceBulkZeroing is enabled.
I fixed the assert and added a regression test.
Tested with JPRT and RBT (running).
More information about the hotspot-compiler-dev