[lworld] ValueTearing fails with -XX:FlatArrayElementMaxSize=0 -XX:InlineFieldMaxFlatSize=0

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: repo-valhalla
    • Component/s: hotspot

      ValueTearing.java fails with -XX:FlatArrayElementMaxSize=0 -XX:InlineFieldMaxFlatSize=0 (also with -Xint):

      STDOUT:
      USE_COMPILER=false ALWAYS_ATOMIC=false TEAR_MODE=both STEP_COUNT=10000000 FLAT TF/TA=false/false NTF/NTA=false/false
      Test for tearing of NTPoint, which must not happen...
      finished after 96028269 observations at NTPB[(10000000,10000000), {(10000000,10000000)}]; no tearing observed
      Test for tearing of TPoint, which is allowed to happen...
      finished after 112688755 observations at TPB[(10000000,10000000), {(10000000,10000000)}]; no tearing observed
      ?????? Note: torn point NOT observed after 112688755 observations
      STDERR:
      java.lang.AssertionError: Note: torn point NOT observed after 112688755 observations, but it should have been
      at runtime.valhalla.inlinetypes.ValueTearing.run(ValueTearing.java:273)
      at runtime.valhalla.inlinetypes.ValueTearing.run(ValueTearing.java:249)
      at runtime.valhalla.inlinetypes.ValueTearing.main(ValueTearing.java:103)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

            Assignee:
            Frederic Parain
            Reporter:
            Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: