[jdk13u-dev] Integrated: 8231209: [REDO] JDK-8207266 ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread

Ekaterina Vergizova evergizova at openjdk.java.net
Fri Dec 4 08:00:00 UTC 2020


On Wed, 2 Dec 2020 19:40:04 GMT, Ekaterina Vergizova <evergizova at openjdk.org> wrote:

> I would like to backport 8231209 to 13u. CSR for 13u is filed and approved: JDK-8257412.
> The patch applies cleanly but it requires some modifications:
> - since javadoc tag for getCurrentThreadAllocatedBytes() should be changed from 14 to 13.0.6
> - JMM_VERSION should not be modified
> 
> The necessity of these changes is described in JDK-8253134 for 11u, it's applicable for 13u as well.
> Tested with ThreadMXBean tests and tier1.

This pull request has now been integrated.

Changeset: 93f5fc00
Author:    Ekaterina Vergizova <evergizova at openjdk.org>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk13u-dev/commit/93f5fc00
Stats:     354 lines in 11 files changed: 233 ins; 32 del; 89 mod

8231209: [REDO] JDK-8207266 ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread

Add com.sun.management.getCurrentThreadAllocatedBytes, implement getThreadAllocatedBytes(long) independent of getThreadAllocatedBytes(long[])

Reviewed-by: yan
Backport-of: 1bce27d4027e56f9bd1aba5d8f587b0cda9b966a

-------------

PR: https://git.openjdk.java.net/jdk13u-dev/pull/43


More information about the jdk-updates-dev mailing list