RFR: 8257513: C2: assert((constant_addr - _masm.code()->consts()->start()) == con.offset()) [v2]

Christian Hagedorn chagedorn at openjdk.java.net
Thu Dec 17 13:36:15 UTC 2020


On Wed, 16 Dec 2020 19:40:01 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Christian Hagedorn has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add @vm.debug == true to test
>
> test/hotspot/jtreg/compiler/codecache/TestStressCodeBuffers.java line 30:
> 
>> 28:  *          which can fail more often with -XX:+StressCodeBuffers. Perform some more sanity flag testing.
>> 29:  * @run main/othervm -Xcomp -XX:-TieredCompilation -XX:+StressCodeBuffers compiler.codecache.TestStressCodeBuffers
>> 30:  * @run main/othervm -Xcomp -XX:+StressCodeBuffers compiler.codecache.TestStressCodeBuffers
> 
> StressCodeBuffers is debug flag. You need to add `-XX:+IgnoreUnrecognizedVMOptions` flag or `@requires vm.debug == true`

Thanks, I fixed it.

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

PR: https://git.openjdk.java.net/jdk/pull/1803


More information about the hotspot-compiler-dev mailing list