On Sun, 16 Aug 2026 22:20:26 GMT, David Holmes <[email protected]> wrote:
>> Leonid Mesnik has updated the pull request incrementally with one additional >> commit since the last revision: >> >> updated after feedback in PR > > test/jdk/jdk/internal/vm/ThreadSnapshot/ThreadLockClassInit.java line 31: > >> 29: * @modules java.base/jdk.internal.vm >> 30: * @run main ThreadLockClassInit >> 31: * @run main/othervm -Xcomp -XX:-Inline >> -XX:CompileCommand=compileonly,*ThreadSnapshot*::* ThreadLockClassInit > > If running with -Xcomp then this test should probably be flagless. The test support execution with any flags. So no need to make it flagless. I don't see now how it could be very useful right now, but not harmful as for the most of our tests. The standard practice is to don't restrict the execution in such cases. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32363#discussion_r3799218121
