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

8
LINES

< > BotCompany Repo | #1013636 // setGCFrequency - change frequency at which software-scheduled GC occurs

JavaX fragment (include)

static void setGCFrequency(double seconds) {
  if (!_inCore()) ret with call(javax(), 'setGCFrequency, seconds);
  lock generalLock();
  cancelTimer(regularGC_timer);
  regularGC_timer = null;
  regularGC_interval = regularGC_firstDelay = toInt(toMS(seconds));
  regularGC();
}

Author comment

Began life as a copy of #1006295

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: #1013636
Snippet name: setGCFrequency - change frequency at which software-scheduled GC occurs
Eternal ID of this version: #1013636/2
Text MD5: 87c4e85455aafbe133b0ea27a14c2bdd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-12 11:26:36
Source code size: 284 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 371 / 417
Version history: 1 change(s)
Referenced in: [show references]