Libraryless. Click here for Pure Java version (1009L/7K/25K).
!7 p { CompilationMXBean bean = ManagementFactory.getCompilationMXBean(); print("JIT Name: " + bean.getName()); print("Compilation diagnostics supported: " + bean.isCompilationTimeMonitoringSupported()); repeat with sleep 1 { print("Total compilation time: " + bean.getTotalCompilationTime()); } }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wtqryiryparv
No comments. add comment
| Snippet ID: | #1007917 |
| Snippet name: | Test CompilationMXBean (see if HotSpot is compiling) |
| Eternal ID of this version: | #1007917/1 |
| Text MD5: | 6fcec4f1641f6a681f53fb03b8816203 |
| Transpilation MD5: | aeb8a03858185a4c6963e6c82272e6f5 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-04-17 14:55:24 |
| Source code size: | 321 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 721 / 853 |
| Referenced in: | -