Code Review for jdk

Prepared by:phh on Thu Sep 10 16:41:18 UTC 2020
Workspace:/local/home/hohensee/workspaces/jdk8u-dev/jdk
Compare against version:14155
Summary of changes: 289 lines changed: 175 ins; 31 del; 83 mod; 2437 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 14156 : 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 14156 : 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
49 lines changed: 37 ins; 0 del; 12 mod; 355 unchg

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

rev 14156 : 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
26 lines changed: 0 ins; 0 del; 26 mod; 780 unchg

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

rev 14156 : 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
51 lines changed: 26 ins; 6 del; 19 mod; 483 unchg

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

rev 14156 : 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 14156 : 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 14156 : 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).