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

17
LINES

< > BotCompany Repo | #1004095 // Test talking to Android JavaX VM from PC

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1502L/10K/34K).

1  
!752
2  
3  
p {
4  
  // OK, doesn't work, understandably
5  
  // [gives java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory]]
6  
  // sendToPhoneVM("what is your pid");
7  
  
8  
  // This should work, right? (And it does!)
9  
  sendToPhoneVM("get injections");
10  
  
11  
  sendToPhoneVM("how much memory is used?");
12  
  sendToPhoneVM("how much memory are you consuming");
13  
  sendToPhoneVM("how much memory is used after GC?");
14  
  sendToPhoneVM("how much memory are you consuming");
15  
  
16  
  print(detectGateways_cache.stats());
17  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004095
Snippet name: Test talking to Android JavaX VM from PC
Eternal ID of this version: #1004095/1
Text MD5: 76bfcf8ef1f4cf69e97792081f977d66
Transpilation MD5: 038ad6be83ec5f7c042d2f60a6f93adb
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-07 15:05:50
Source code size: 525 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 447 / 528
Referenced in: [show references]