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

26
LINES

< > BotCompany Repo | #1029239 // IManagedObjectCollector

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (51L) is out of date.

1  
sinterface IManagedObjectCollector {
2  
  // notify collector that there is an object in a location
3  
  public void noteObject(int start, int size);
4  
  
5  
  // same plus callback after compaction
6  
  public void noteObject(int start, int size, IVF1<Int> updateAddress);
7  
  
8  
  // notify collector that there is a pointer in a location
9  
  public void notePointer(int addr, IVF1<Int> updateAddress);
10  
  
11  
  default public void notePointer(int addr) { notePointer(addr, null); }
12  
  
13  
  public void noteRootPointer(int addr);
14  
  
15  
  // notify collector that there is a pointer array in a location
16  
  public void notePointerArray(int start);
17  
  
18  
  // notify collector that there is an int array in a location
19  
  public void noteIntArray(int start);
20  
  
21  
  void noteString(int addr, IVF1<Int> updateAddress);
22  
  //default void noteString(int addr) { noteString(addr, null); }
23  
  
24  
  // call after collectAndCompact to get new location of objects
25  
  int getNewLocation(int addr);
26  
}

Author comment

Began life as a copy of #1029237

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029239
Snippet name: IManagedObjectCollector
Eternal ID of this version: #1029239/14
Text MD5: f11fae9dd7dd76ebe6648c24391b29e1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-25 12:27:03
Source code size: 971 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 299 / 584
Version history: 13 change(s)
Referenced in: [show references]