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

ParkEvent::RawThreadIdentity appears to be unused and should be removed.

XMLWordPrintable

    • b93

      A DESCRIPTION OF THE REQUEST :
      http://hg.openjdk.java.net/jdk9/hs/hotspot/file/22400a67babe/src/share/vm/runtime/park.hpp declares ParkEvent::RawThreadIdentity on line 124, but never uses it.


      JUSTIFICATION :
      The storage for the field is allocated, but never written (or read). What a waste.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Allocate only the storage needed.
      ACTUAL -
      Additional storage is allocated.

            dholmes David Holmes
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: