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

getCurrentThreadAllocatedBytes default implementation s/b getThreadAllocatedBytes

XMLWordPrintable

    • 14
    • b21
    • generic
    • generic

        JDK-8231209 made the default implementation of getCurrentThreadAllocatedBytes be to throw UnsupportedOperationException. However because getCurrentThreadAllocatedBytes is defined to be getThreadAllocatedBytes(Thread.currentThread().getId()), the default implementation should be to return the result of getThreadAllocatedBytes(Thread.currentThread().getId()).

              phh Paul Hohensee
              phh Paul Hohensee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: