RFR 8139385: [TESTBUG]: JVMCI test crashes in constantPoolHandle::constantPoolHandle
vladimir.kozlov at oracle.com
Fri Oct 30 06:59:11 UTC 2015
On 10/30/15 12:13 AM, Konstantin Shefov wrote:
> Please review a test bug fix in whitebox.cpp.
> The problem with the test (crash) happened because of C++ type "long" on
> Windows 64-bit platforms has length of 32-bit, and when we casted a
> 64-bit pointer to "long" we had wrong pointer as a result.
> The solution is to cast the pointer to "jlong", which is "signed long
> long" and is always 64-bit.
> Tested by test "compiler/jvmci/compilerToVM/GetConstantPoolTest.java "
> Bug: https://bugs.openjdk.java.net/browse/JDK-8139385
> Webrev: http://cr.openjdk.java.net/~kshefov/8139385/webrev/
More information about the hotspot-compiler-dev