hg: jdk8u/jdk8u-dev/jdk: 2 new changesets

paul.hohensee at gmail.com paul.hohensee at gmail.com
Mon Sep 28 17:46:58 UTC 2020


Changeset: e148a6a0b505
Author:    phh
Date:      2019-09-25 15:22 -0700
URL:       https://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/e148a6a0b505

8231209: [REDO] ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
Summary: Add com.sun.management.getCurrentThreadAllocatedBytes, implement getThreadAllocatedBytes(long) independent of getThreadAllocatedBytes(long[])
Reviewed-by: mchung, dholmes, sspitsyn

! make/mapfiles/libmanagement/mapfile-vers
! src/share/classes/com/sun/management/ThreadMXBean.java
! src/share/classes/java/lang/management/ThreadMXBean.java
! src/share/classes/sun/management/ThreadImpl.java
! src/share/javavm/export/jmm.h
! src/share/native/sun/management/ThreadImpl.c
! test/com/sun/management/ThreadMXBean/ThreadAllocatedMemory.java

Changeset: 59d320b277b8
Author:    phh
Date:      2019-10-23 18:43 -0700
URL:       https://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/59d320b277b8

8231968: getCurrentThreadAllocatedBytes default implementation s/b getThreadAllocatedBytes
Summary: Pass Thread.currentThread().getId() to getThreadAllocatedBytes, remove its implSpec
Reviewed-by: dholmes, mchung, sspitsyn

! src/share/classes/com/sun/management/ThreadMXBean.java



More information about the jdk8u-dev-changes mailing list