Download Jar. Uses 3874K of libraries. Click here for Pure Java version (5534L/40K).
!7 import com.sun.management.HotSpotDiagnosticMXBean; p-exp { HotSpotDiagnosticMXBean bean = ManagementFactory.getPlatformMXBean(HotSpotDiagnosticMXBean.class); print("PrintGCDetails=" + bean.getVMOption("PrintGCDetails")); bean.setVMOption("PrintGCDetails", "true"); print("PrintGCDetails=" + bean.getVMOption("PrintGCDetails")); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017319 |
Snippet name: | Test setting VM options at runtime (no workee) |
Eternal ID of this version: | #1017319/3 |
Text MD5: | 43de0714eb3ed4f44c504de494e2efaf |
Transpilation MD5: | 886b973267b318c7811055722158d435 |
Author: | stefan |
Category: | javax / discovery |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-16 20:50:15 |
Source code size: | 351 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 472 / 1097 |
Version history: | 2 change(s) |
Referenced in: | [show references] |