-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Wisp] Port WispCounterMXBean and PerfCounterMonitor to JDK17.
Summary: The change is to port WispCounterMXBean and PerfCounterMonitor. But since JDK11 introduces module, there are the below changes: 1. move WispCounterMXBean and WispCounterMXBeanImpl into jdk.management 2. use PrintStream instead of Logging in WispPerfCounterMonitor 3. put WispCounter map in WispEngine instead of WispCounterMXBeanImpl 4. Restricted to module in JDK11, introduce WispCounterData for MXBean Test Plan: test/jdk/com/alibaba/wisp/TestWispCounter.java test/jdk/com/alibaba/wisp/TestWispDetailCounter.java test/jdk/com/alibaba/wisp2/TestProfileWithHandOff.java test/jdk/com/alibaba/wisp/TestWispMonitorData.java Reviewed-by: yulei Issue: #97
- Loading branch information
Showing
16 changed files
with
1,235 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.