Code Review for jdk

Prepared by:phh on Wed Sep 9 16:46:53 UTC 2020
Workspace:/local/home/hohensee/workspaces/jdk8u-dev/jdk
Compare against version:14154
Summary of changes: 267 lines changed: 175 ins; 32 del; 60 mod; 2459 unchg
Patch of changes: jdk.patch
Bug id: JDK-8231209] [REDO : JDK-8207266 ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
Legend: Modified file
Deleted file
New file

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw make/mapfiles/libmanagement/mapfile-vers

rev 14155 : 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
2 lines changed: 1 ins; 0 del; 1 mod; 126 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/classes/com/sun/management/ThreadMXBean.java

rev 14155 : 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
48 lines changed: 37 ins; 0 del; 11 mod; 356 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/classes/java/lang/management/ThreadMXBean.java

rev 14155 : 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
3 lines changed: 0 ins; 0 del; 3 mod; 803 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/classes/sun/management/ThreadImpl.java

rev 14155 : 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
53 lines changed: 26 ins; 7 del; 20 mod; 481 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/javavm/export/jmm.h

rev 14155 : 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
4 lines changed: 2 ins; 0 del; 2 mod; 351 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/native/sun/management/ThreadImpl.c

rev 14155 : 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
8 lines changed: 7 ins; 0 del; 1 mod; 142 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw test/com/sun/management/ThreadMXBean/ThreadAllocatedMemory.java

rev 14155 : 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
149 lines changed: 102 ins; 25 del; 22 mod; 200 unchg

This code review page was prepared using /home/hohensee/bin/webrev (vers 25.16-hg+openjdk.java.net).