RFR: CODETOOLS-7902818: JMH: Remove Hotspot-specific MBeans profilers

Aleksey Shipilev shade at openjdk.java.net
Thu Jan 7 11:03:09 UTC 2021


JDK 16 [strengthens the access to internal JDK classes](https://openjdk.java.net/jeps/396), and therefore internal Hotspot-specific MBeans are not easily accessible anymore. So the hs_* profilers that existed from Day 1 in JMH are not working. These profilers are seldom (never?) used, and their functionality is better covered by JFR profilers. 

So, it makes sense to just ditch these profilers from JMH.

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

Commit messages:
 - CODETOOLS-7902818: JMH: Remove Hotspot-specific MBeans profilers

Changes: https://git.openjdk.java.net/jmh/pull/17/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jmh&pr=17&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902818
  Stats: 810 lines in 12 files changed: 0 ins; 810 del; 0 mod
  Patch: https://git.openjdk.java.net/jmh/pull/17.diff
  Fetch: git fetch https://git.openjdk.java.net/jmh pull/17/head:pull/17

PR: https://git.openjdk.java.net/jmh/pull/17


More information about the jmh-dev mailing list