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

getCurrentThreadAllocatedBytes default implementation s/b getThreadAllocatedBytes

    Details

    • Subcomponent:
    • Introduced In Version:
      14
    • Resolved In Build:
      b21
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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()).

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  phh Paul Hohensee
                  Reporter:
                  phh Paul Hohensee
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: