Download Jar. Uses 3874K of libraries. Click here for Pure Java version (5535L/40K).
1 | !7 |
2 | |
3 | import com.sun.management.HotSpotDiagnosticMXBean; |
4 | |
5 | p-exp {
|
6 | HotSpotDiagnosticMXBean bean = ManagementFactory.getPlatformMXBean(HotSpotDiagnosticMXBean.class); |
7 | S flag = "+PrintAssembly"; |
8 | print(flag + "=" + bean.getVMOption(flag)); |
9 | bean.setVMOption(flag, "true"); |
10 | print(flag + "=" + bean.getVMOption(flag)); |
11 | } |
Began life as a copy of #1017319
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: | #1017320 |
| Snippet name: | Test enabling assembly print at runtime (no workee) |
| Eternal ID of this version: | #1017320/5 |
| Text MD5: | a3e7e516eddecb5ab710f421e3050742 |
| Transpilation MD5: | 4aec5fa346e340f9e9b3919e1bc057b1 |
| 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:56:31 |
| Source code size: | 331 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 652 / 1602 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |