RFR(S): 8213538: VM crashes when MaxVectorSize is set to 0, 1 or 2
nils.eliasson at oracle.com
Mon Nov 12 11:14:50 UTC 2018
This patch add the requirement that MaxVectorSize must be at least 4 on
The background is that we crash in startup when testing when setting it
to 0, 1 or 2. When MaxVectorSize is less than 4, the XMM reg types won't
be initialized, and then we crash in intrinsics that unconditionally use
XMM regs. Since SSE2 is the required minimum on x64, the assumption that
you can use XMM regs is always valid. This adds the requirement that
MaxVectorSize is at least 4.
I had to do a little refactoring to make the code more readable, but the
essence is the same.
Testing is running.
More information about the hotspot-compiler-dev