[jdk17] Integrated: 8271173: serviceability/jvmti/GetObjectSizeClass.java doesn't check exit code

Igor Ignatyev iignatyev at openjdk.java.net
Fri Jul 23 15:57:03 UTC 2021


On Fri, 23 Jul 2021 04:34:50 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

> Hi all,
> 
> could you please review the patch that adds an exit-code check to `serviceability/jvmti/GetObjectSizeClass.java` test?
> 
> from JBS:
>> `serviceability/jvmti/GetObjectSizeClass.java` test spawns a new JVM but doesn't check its exit code which might lead to both type-I and type-II errors
> 
> testing:  `serviceability/jvmti/GetObjectSizeClass.java`  on `{linux,windows,macos}-x64`
> 
> Thanks,
> -- Igor

This pull request has now been integrated.

Changeset: e90ed6cc
Author:    Igor Ignatyev <iignatyev at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/e90ed6cc38ab8f8a2c7c740da1cb38144622b4eb
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8271173: serviceability/jvmti/GetObjectSizeClass.java doesn't check exit code

Reviewed-by: dholmes

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

PR: https://git.openjdk.java.net/jdk17/pull/277


More information about the serviceability-dev mailing list