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

Segv in Valhalla ValueKlass::array_klass_impl(...)

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      There seems to be a segv in ValueKlass::array_klass_impl.
      More information is in the attached hs_err file.

      It only seems to occur when running the test program multi-threaded and not when single threaded.

      The current test is not trivial to package; if needed, a bundle or smaller example may exhibit the same symptoms. A core dump can be produced as well as needed.

      The immediate source code of the test is:
            int newCap = 256;
            YNode<K,V>[] newTab = (YNode<K,V>[])new YNode[newCap];


      And YNode:

       static inline class YNode<K,V> implements Map.Entry<K,V> {
              final int hash;
              final short probes; // maybe only a byte
              final K key;
              final V value;

              YNode() {
                  this.hash = 0;
                  this.probes = 0;
                  this.key = null;
                  this.value = null;
              }
              ...
      }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rriggs Roger Riggs
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: