On Tue, 5 May 2026 08:24:47 GMT, Matthias Baesken <[email protected]> wrote:

> There are a couple of tests that do not work well with ubsan - enabled 
> binaries.
> Thoe have been identified by Afshin
> 
> runtime/ErrorHandling/TestDwarf.java uses artificial division by zero
> runtime/ErrorHandling/VeryEarlyAssertTest.java uses artificial env var to 
> crash early in jvm load
> serviceability/sa/ClhsdbFindPC.java
> serviceability/sa/ClhsdbCDSCore.java
> serviceability/sa/ClhsdbPstack.java
> serviceability/sa/ClhsdbPmap.java
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

test/hotspot/jtreg/serviceability/sa/ClhsdbFindPC.java line 39:

> 37:  * @summary Test the clhsdb 'findpc' command with Xcomp on live process
> 38:  * @requires vm.hasSA
> 39:  * @requires !vm.ubsan

Why are you disabling this @test? This is not a core file test. I expected to 
see this on xcomp-core and no-xcomp-core below.

test/hotspot/jtreg/serviceability/sa/ClhsdbPmap.java line 38:

> 36:  * @summary Test clhsdb pmap command on a live process
> 37:  * @requires vm.hasSA
> 38:  * @requires !vm.ubsan

Same comment here as above. This is not a core file test. The one below is.

test/hotspot/jtreg/serviceability/sa/ClhsdbPstack.java line 38:

> 36:  * @summary Test clhsdb pstack command on a live process
> 37:  * @requires vm.hasSA
> 38:  * @requires !vm.ubsan

Same comment here as above. This is not a core file test. The one below is.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31035#discussion_r3190444299
PR Review Comment: https://git.openjdk.org/jdk/pull/31035#discussion_r3190483264
PR Review Comment: https://git.openjdk.org/jdk/pull/31035#discussion_r3190485243

Reply via email to