test/hotspot/jtreg/runtime/CompressedOops/UseCompressedOops.java failing with -XX:+UseShenandoahGC on x86_64

B. Blaser bsrbnd at gmail.com
Mon Jan 28 15:20:37 UTC 2019


I've seen this has just been pushed to 12 but I think we'd need this
to 13 too, but:

https://bugs.openjdk.java.net/browse/JDK-8217873

has been resolved as duplicate.

I can help reopening it and pushing the fix to 13 if necessary?

Thanks,
Bernard

On Sat, 26 Jan 2019 at 16:47, B. Blaser <bsrbnd at gmail.com> wrote:
>
> Hi,
>
> Maybe you're already aware of this failing test, but it seems that
> -XX:+UnlockExperimentalVMOptions is necessary with
> -XX:+UseShenandoahGC as here under.
>
> Regards,
> Bernard
>
> diff --git a/test/hotspot/jtreg/runtime/CompressedOops/UseCompressedOops.java
> b/test/hotspot/jtreg/runtime/CompressedOops/UseCompressedOops.java
> --- a/test/hotspot/jtreg/runtime/CompressedOops/UseCompressedOops.java
> +++ b/test/hotspot/jtreg/runtime/CompressedOops/UseCompressedOops.java
> @@ -1,5 +1,5 @@
>  /*
> - * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
>   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>   *
>   * This code is free software; you can redistribute it and/or modify it
> @@ -63,7 +63,7 @@
>          testCompressedOopsModes(args, "-XX:+UseParallelGC");
>          testCompressedOopsModes(args, "-XX:+UseParallelOldGC");
>          if (GC.Shenandoah.isSupported()) {
> -            testCompressedOopsModes(args, "-XX:+UseShenandoahGC");
> +            testCompressedOopsModes(args,
> "-XX:+UnlockExperimentalVMOptions", "-XX:+UseShenandoahGC");
>          }
>      }



More information about the build-dev mailing list