Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8151622

AllocatePrefetchStyle 2 is incompatible with AllocatePrefetchInstr 1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 8u76, 9
    • hotspot
    • None

      java (fastdebug 9-ea+109) with "-Xcomp -XX:AllocatePrefetchStyle=2" options on Sparcv9 hit assert:
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/HUDSON/workspace/9-2-build-solaris-sparcv9-phase2/jdk9/4620/hotspot/src/share/vm/classfile/javaClasses.cpp:1069), pid=12292, tid=2
      # assert(java_class == Universe::void_mirror()) failed: only valid non-array primitive
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0+109) (fastdebug build 9-ea+109-2016-03-10-032101.javare.4620)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-ea+109-2016-03-10-032101.javare.4620, compiled mode, tiered, compressed oops, g1 gc, solaris-sparc)
      # Core dump will be written. Default location: /tmp/dd/jdk-9/fastdebug/bin/core or core.12292
      #
      ...

      AllocatePrefetchStyle is a product option with valid range [0...3]. According to globals.hpp value 2 means "use TLAB watermark to gate allocation prefetch"

      hs_err_pid12292.log is attached.

            zmajo Zoltan Majo (Inactive)
            ddmitriev Dmitry Dmitriev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: