Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1007918 // hotSpotCompilationTime

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (8009L/45K).

static long hotSpotCompilationTime() {
  try {
    CompilationMXBean bean = ManagementFactory.getCompilationMXBean();
    if (bean != null && bean.isCompilationTimeMonitoringSupported())
      ret bean.getTotalCompilationTime();
  } catch e {
    silentException(e);
  }
  ret 0;
}

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: 564 / 630
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)