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

Vector API failures with MaxVectorSize < 16

XMLWordPrintable

      Some vector tests are showing failures when running with MaxVectorSize < 16. E.g.:
      make run-test TEST=jdk/incubator/vector/Float64VectorTests.java JTREG="VM_OPTIONS=-XX:MaxVectorSize=8"

      On x86_64:
      ExceptionInInitializerError: Exception java.lang.AssertionError [in thread "MainThread"]
      at jdk.incubator.vector/jdk.incubator.vector.CPUFeatures$X64.<clinit>(CPUFeatures.java:78)

      On PPC64:
      assert(ov->field_size() == 1) failed: jdk/incubator/vector/Int64Vector not a vector
      VectorSupport::allocate_vector(InstanceKlass*, frame*, RegisterMap*, ObjectValue*, JavaThread*)+0x478 (vectorSupport.cpp:162)

      Does it make sense at all to use EnableVectorSupport with MaxVectorSize < 16?

            Unassigned Unassigned
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: