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

Ekaterina Vergizova evergizova at openjdk.java.net
Wed Dec 2 19:46:11 UTC 2020


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.

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

Commit messages:
 - Backport 1bce27d4027e56f9bd1aba5d8f587b0cda9b966a

Changes: https://git.openjdk.java.net/jdk13u-dev/pull/43/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk13u-dev&pr=43&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8231209
  Stats: 354 lines in 11 files changed: 233 ins; 32 del; 89 mod
  Patch: https://git.openjdk.java.net/jdk13u-dev/pull/43.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk13u-dev pull/43/head:pull/43

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


More information about the jdk-updates-dev mailing list