Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contribution 015 from Robin Garner of ANU.
Generalization of pointer enumeration mechanism
- Loading branch information
1 parent
74ced16
commit e7195af
Showing
9 changed files
with
53 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package com.ibm.JikesRVM.memoryManagers.JMTk; | ||
|
||
import com.ibm.JikesRVM.VM_Address; | ||
import com.ibm.JikesRVM.VM_PragmaInline; | ||
import com.ibm.JikesRVM.VM_Uninterruptible; | ||
|
||
//$Id: | ||
|
||
/** | ||
* Callbacks from ScanObject to Plan.enumeratePointerLocation are | ||
* dispatched through an object of this class, so that we have the | ||
* opportunity to change the behaviour through sub-classing. <p> | ||
* | ||
* @author Robin Garner | ||
* @version $Revision$ | ||
* @date $Date$ | ||
*/ | ||
|
||
public class Enumerate implements VM_Uninterruptible { | ||
private Plan plan; | ||
|
||
/* Constructor | ||
*/ | ||
|
||
Enumerate(Plan plan) { | ||
this.plan = plan; | ||
} | ||
|
||
public void enumeratePointerLocation(VM_Address location) | ||
throws VM_PragmaInline { | ||
plan.enumeratePointerLocation(location); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters