Bug: ZGC crashes with AbstractMethodError

Aleksey Shipilev shade at redhat.com
Mon Dec 11 12:47:10 UTC 2017


On 12/11/2017 12:24 PM, Per Liden wrote:
> On 2017-12-11 11:23, Aleksey Shipilev wrote:
>> On 12/11/2017 11:17 AM, Per Liden wrote:
>>> Thanks for reporting! Are you by any chance running on a recent AMD machine? We know about a C2 bug
>>> only provoked on those CPUs. Nils is working on a patch for that.
>>
>> Nope, this is i7-7820X on Linux 4.10.0-38-generic x86_64, compiled with gcc version 5.4.0.
>> Also fails on i7-4790K on Linux 4.9.0-4-amd64 compiled with gcc version 6.3.0.
>>
>> What is puzzling is that only release bits are failing, not fastdebug.
> 
> Ok, thanks! Nils will try to looks into this. Is there anything more about this test you could
> share? Or can the test be trimmed down and pruned of any sensitive information to make is shareable?

That workload is the variant of SPECjvm2008:mpegaudio. My previous attempts to reproduce it failed,
but now I can reliably fail it with:

$ ~/trunks/zgc-zgc/build/linux-x86_64-normal-server-release/jdk/bin/java -Xmx1g -Xms1g
-XX:+AlwaysPreTouch -XX:-TieredCompilation -XX:+UseZGC -jar SPECjvm2008.jar -ikv -ict mpegaudio -bt 1

SPECjvm2008 Base
  Properties file:   none
  Benchmarks:        mpegaudio

  WARNING: Run will not be compliant.
  Property specjvm.run.checksum.validation must be true for publication.
  Not a compliant sequence of benchmarks for publication.
  Property specjvm.run.initial.check must be true for publication.


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

  Benchmark:   mpegaudio
  Run mode:    timed run
  Test type:   multi
  Threads:     1
  Warmup:      120s
  Iterations:  1
  Run length:  240s

Warmup (120s) begins: Mon Dec 11 13:45:06 CET 2017
Warmup (120s) ends:   Mon Dec 11 13:45:06 CET 2017
Warmup (120s) result:  **NOT VALID**

Errors in benchmark: mpegaudio
  [warmup] Harness interruped during measurement period.
  [warmup][bt:1|op:1] java.lang.AbstractMethodError:
java.lang.Exception.printStackTrace(Ljava/io/PrintStream;)V
Score on mpegaudio:  **NOT VALID**

Benchmark mpegaudio failed. Aborting run.

Thanks,
-Aleksey




More information about the zgc-dev mailing list