RFR: JDK-8330795 : C2: assert((uint)type <= T_CONFLICT && _zero_type[type] != nullptr) failed: bad type with -XX:-UseCompressedClassPointers

Cesar Soares Lucas cslucas at openjdk.org
Mon May 13 22:11:05 UTC 2024


On Thu, 9 May 2024 01:46:45 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> @JohnTortugo, thank you for adding new test. But it would be nice also add additional run with `-XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedClassPointers` to failed test `test/hotspot/jtreg/compiler/c2/irTests/scalarReplacement/AllocationMergesTests.java`
>> 
>> Also why you require to run test only with compressed oops on?:
>> 
>> * @requires vm.debug == true & vm.bits == 64 & vm.compiler2.enabled & vm.opt.final.UseCompressedOops & vm.opt.final.EliminateAllocations
>
>> @JohnTortugo, thank you for adding new test. But it would be nice also add additional run with `-XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedClassPointers` to failed test `test/hotspot/jtreg/compiler/c2/irTests/scalarReplacement/AllocationMergesTests.java`
>  
> Actually `-XX:+IgnoreUnrecognizedVMOptions` is not needed because you require `vm.bits == 64` in the test.

@vnkozlov - I updated the patch by adding new tests with CompressedOops/CompressedClassPointers enabled and disabled.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19148#issuecomment-2108886624


More information about the hotspot-compiler-dev mailing list