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

12
LINES

< > BotCompany Repo | #1011909 // Test getOpt memory leak with multiple modules (FIXED!)

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

Download Jar. Libraryless. Click here for Pure Java version (1415L/9K).

!7

p {
  Class module = hotwire(#1011908);
  O a = nuInRealm(module, 'main$A);
  print("Keys: " + keys(getOpt_cache));
  getOpt(a, 'a);
  print("Keys: " + keys(getOpt_cache));
  a = null;
  gc();
  print("Keys: " + keys(getOpt_cache));
}

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: #1011909
Snippet name: Test getOpt memory leak with multiple modules (FIXED!)
Eternal ID of this version: #1011909/6
Text MD5: d044772e660240be765f905917165423
Transpilation MD5: af224118327024c46cb1df52af79e1fd
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-10 00:01:47
Source code size: 249 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 355 / 816
Version history: 5 change(s)
Referenced in: [show references]