RFR: 8336753: Don't run serviceability/sa/ClhsdbDumpheap.java with -Xcomp

Chris Plummer cjplummer at openjdk.org
Thu Jul 18 21:18:31 UTC 2024


On Thu, 18 Jul 2024 15:00:41 GMT, Daniel Lundén <dlunden at openjdk.org> wrote:

> We are seeing quite a few timeouts for `serviceability/sa/ClhsdbDumpheap.java` running with -Xcomp in testing, possibly related to [JDK-8324241](https://bugs.openjdk.org/browse/JDK-8324241). We should disable running `ClhsdbDumpheap.java` with -Xcomp, at least for now.
> 
> ### Changeset
> 
> - Add `@requires vm.compMode != "Xcomp"` to `ClhsdbDumpheap.java`.

Given that there is no inherent incompatibility with `-Xcomp` and the test is capable of running with `-Xcomp`, I suggest that you add an `@comment` before the `@require` stating why it shouldn't be run with `-Xcomp`.

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

PR Comment: https://git.openjdk.org/jdk/pull/20237#issuecomment-2237631516


More information about the serviceability-dev mailing list