Libraryless. Click here for Pure Java version (8009L/45K).
1 | static long hotSpotCompilationTime() { |
2 | try { |
3 | CompilationMXBean bean = ManagementFactory.getCompilationMXBean(); |
4 | if (bean != null && bean.isCompilationTimeMonitoringSupported()) |
5 | ret bean.getTotalCompilationTime(); |
6 | } catch e { |
7 | silentException(e); |
8 | } |
9 | ret 0; |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007918 |
Snippet name: | hotSpotCompilationTime |
Eternal ID of this version: | #1007918/2 |
Text MD5: | 8ce0bdca3c5b673db2c0cfc30422a477 |
Transpilation MD5: | e6e77fd1e33d4f4f3c80d9328a7b150c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-17 15:02:23 |
Source code size: | 290 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 565 / 633 |
Version history: | 1 change(s) |
Referenced in: | [show references] |