Package | Description |
---|---|
edu.rice.hj.runtime.actors |
The base package for the habanero-java actors support.
|
edu.rice.hj.runtime.baseruntime | |
edu.rice.hj.runtime.forkjoin |
The base package for a fork-join based parallel implementation of the HJ runtime.
|
edu.rice.hj.runtime.metrics |
The base package for the habanero-java abstract metrics.
|
edu.rice.hj.runtime.phasers |
The base package for the habanero-java phaser support.
|
edu.rice.hj.runtime.simt |
Modifier and Type | Class and Description |
---|---|
class |
LingeringHabaneroActivity
A concrete implementation of a @see HabaneroActivity which delays its execution by claiming not to be ready until
forced to be ready.
|
class |
RunnableHabaneroActivity
A concrete implementation of a @see HabaneroActivity which accepts a runnable block to execute.
|
Modifier and Type | Method and Description |
---|---|
HabaneroActivity |
LingeringHabaneroActivity.finalizeActivitySpawn(HabaneroActivity childActivity)
finalizeActivitySpawn.
|
static HabaneroActivity |
ActorRuntimeHelper.newRunnableActivity(LingeringActivity parentActivity,
String name,
Runnable runnable)
newRunnableActivity.
|
HabaneroActivity |
LingeringHabaneroActivity.parentActivity() |
HabaneroActivity |
LingeringActivity.parentActivity() |
Modifier and Type | Method and Description |
---|---|
HabaneroActivity |
LingeringHabaneroActivity.finalizeActivitySpawn(HabaneroActivity childActivity)
finalizeActivitySpawn.
|
void |
LingeringHabaneroActivity.finalizeActorActivitySpawn(HabaneroActivity child)
finalizeActorActivitySpawn.
|
void |
LingeringActivity.finalizeActorActivitySpawn(HabaneroActivity child)
finalizeActorActivitySpawn.
|
Constructor and Description |
---|
LingeringHabaneroActivity(String name,
HjPlace hjPlace,
HabaneroActivity parentActivity)
Constructor for LingeringHabaneroActivity.
|
Modifier and Type | Class and Description |
---|---|
class |
RunnableActivity |
class |
SuspendableActivity |
Modifier and Type | Field and Description |
---|---|
protected HabaneroActivity |
ParallelFuture.activity |
Modifier and Type | Method and Description |
---|---|
HabaneroActivity |
BaseThread.currentActivity() |
HabaneroActivity |
BaseRuntime.currentActivity()
Returns The currently executing activity.
|
static HabaneroActivity |
BaseRuntime.currentHabaneroActivity()
currentBlockingActivity.
|
HabaneroActivity |
HabaneroActivity.finalizeActivitySpawn(HabaneroActivity childActivity)
finalizeActivitySpawn.
|
HabaneroActivity |
BaseThread.unstashActivity() |
Modifier and Type | Method and Description |
---|---|
void |
BaseThread.currentActivity(HabaneroActivity activity) |
HabaneroActivity |
HabaneroActivity.finalizeActivitySpawn(HabaneroActivity childActivity)
finalizeActivitySpawn.
|
void |
HabaneroActivity.notifyActivitySpawn(HabaneroActivity childActivity)
notifyActivitySpawn.
|
<T> void |
EventLogger.onActivityDependenciesReady(HabaneroActivity activity,
List<HjFuture<T>> dependencies) |
<T> void |
DeadlockTracker.onActivityDependenciesReady(HabaneroActivity activity,
List<HjFuture<T>> dependencies)
Callback for the event when all the activities dependencies are ready.
|
<T> void |
ActivityListeners.ActivityListener.onActivityDependenciesReady(HabaneroActivity activity,
List<HjFuture<T>> dependencies)
Callback for the event when all the activities dependencies are ready.
|
<T> void |
ActivityListeners.ActivityListenerList.onActivityDependenciesReady(HabaneroActivity activity,
List<HjFuture<T>> dependencies)
Callback for the event when all the activities dependencies are ready.
|
<T> void |
ActivityListeners.ActivityListenerAdapter.onActivityDependenciesReady(HabaneroActivity activity,
List<HjFuture<T>> dependencies) |
void |
EventLogger.onActivityDoWork(HabaneroActivity activity,
long workUnits) |
void |
EventLogger.onActivityEnd(HabaneroActivity activity,
FinishState finishState,
Throwable throwable) |
void |
DeadlockTracker.onActivityEnd(HabaneroActivity activity,
FinishState finishState,
Throwable throwable)
Callback for when the event ends execution.
|
void |
ActivityTerminationListener.onActivityEnd(HabaneroActivity activity,
FinishState finishState,
Throwable throwable) |
void |
ActivityListeners.ActivityListener.onActivityEnd(HabaneroActivity activity,
FinishState finishState,
Throwable throwable)
Callback for when the event ends execution.
|
void |
ActivityListeners.ActivityListenerList.onActivityEnd(HabaneroActivity activity,
FinishState finishState,
Throwable throwable) |
void |
ActivityListeners.ActivityListenerAdapter.onActivityEnd(HabaneroActivity activity,
FinishState finishState,
Throwable throwable) |
void |
EventLogger.onActivityResume(HabaneroActivity activity) |
void |
DeadlockTracker.onActivityResume(HabaneroActivity activity)
Callback for when the event execution is resumed.
|
void |
ActivityListeners.ActivityListener.onActivityResume(HabaneroActivity activity)
Callback for when the event execution is resumed.
|
void |
ActivityListeners.ActivityListenerList.onActivityResume(HabaneroActivity activity) |
void |
ActivityListeners.ActivityListenerAdapter.onActivityResume(HabaneroActivity activity) |
void |
EventLogger.onActivitySpawn(HabaneroActivity parentActivity,
HabaneroActivity childActivity) |
void |
DeadlockTracker.onActivitySpawn(HabaneroActivity parentActivity,
HabaneroActivity childActivity)
Callback for when the event ends execution.
|
void |
ActivityListeners.ActivityListener.onActivitySpawn(HabaneroActivity parentActivity,
HabaneroActivity childActivity)
Callback for when the event ends execution.
|
void |
ActivityListeners.ActivityListenerList.onActivitySpawn(HabaneroActivity parentActivity,
HabaneroActivity childActivity) |
void |
ActivityListeners.ActivityListenerAdapter.onActivitySpawn(HabaneroActivity parentActivity,
HabaneroActivity childActivity) |
void |
EventLogger.onActivityStart(HabaneroActivity activity) |
void |
DeadlockTracker.onActivityStart(HabaneroActivity activity)
Callback for when the event starts execution.
|
void |
ActivityListeners.ActivityListener.onActivityStart(HabaneroActivity activity)
Callback for when the event starts execution.
|
void |
ActivityListeners.ActivityListenerList.onActivityStart(HabaneroActivity activity) |
void |
ActivityListeners.ActivityListenerAdapter.onActivityStart(HabaneroActivity activity) |
void |
EventLogger.onActivitySuspend(HabaneroActivity activity) |
void |
DeadlockTracker.onActivitySuspend(HabaneroActivity activity)
Callback for when the event execution is suspended.
|
void |
ActivityListeners.ActivityListener.onActivitySuspend(HabaneroActivity activity)
Callback for when the event execution is suspended.
|
void |
ActivityListeners.ActivityListenerList.onActivitySuspend(HabaneroActivity activity) |
void |
ActivityListeners.ActivityListenerAdapter.onActivitySuspend(HabaneroActivity activity) |
void |
EventLogger.onActorMsgProcessed(Actor actor,
HabaneroActivity activity,
String message) |
void |
EventLogger.onActorMsgReceived(Actor actor,
HabaneroActivity activity,
String message,
long parentId) |
void |
EventLogger.onActorMsgSent(Actor actor,
HabaneroActivity activity,
String message) |
void |
EventLogger.onDDFStore(HabaneroActivity activity,
int futureId) |
void |
EventLogger.onFinishScopeStart(HabaneroActivity activity,
FinishState finishState) |
void |
DeadlockTracker.onFinishScopeStart(HabaneroActivity activity,
FinishState finishState) |
void |
ActivityListeners.ActivityListener.onFinishScopeStart(HabaneroActivity activity,
FinishState finishState) |
void |
ActivityListeners.ActivityListenerList.onFinishScopeStart(HabaneroActivity activity,
FinishState finishState) |
void |
ActivityListeners.ActivityListenerAdapter.onFinishScopeStart(HabaneroActivity activity,
FinishState finishState) |
void |
EventLogger.onFutureRestore(HabaneroActivity activity,
int futureId) |
void |
EventLogger.onFutureStore(HabaneroActivity activity,
long futureActivityId) |
void |
EventLogger.onIsolationEnd(HabaneroActivity activity,
int[] lockIds,
int[] lockModes) |
void |
EventLogger.onIsolationStart(HabaneroActivity activity,
int[] lockIds,
int[] lockModes) |
void |
EventLogger.onPhaserActivityDropped(HabaneroActivity activity,
InternalPhaser phaser,
int phase) |
void |
EventLogger.onPhaserFinishDropped(HabaneroActivity activity,
InternalPhaser phaser,
int phase) |
void |
EventLogger.onPhaserReady(HabaneroActivity activity,
List<HjPhaserPair> phaserList) |
void |
DeadlockTracker.onPhaserReady(HabaneroActivity activity,
List<HjPhaserPair> phaserPairList) |
void |
ActivityListeners.ActivityListener.onPhaserReady(HabaneroActivity activity,
List<HjPhaserPair> phaserPairList)
Callback for the event when phasers are created
|
void |
ActivityListeners.ActivityListenerList.onPhaserReady(HabaneroActivity activity,
List<HjPhaserPair> phaserPairList) |
void |
ActivityListeners.ActivityListenerAdapter.onPhaserReady(HabaneroActivity activity,
List<HjPhaserPair> phaserPairList) |
void |
EventLogger.onPhaserSignal(HabaneroActivity activity,
InternalPhaser phaser) |
void |
EventLogger.onPhaserWait(HabaneroActivity activity,
InternalPhaser phaser) |
void |
EventLogger.onPostFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
DeadlockTracker.onPostFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
ActivityListeners.ActivityListener.onPostFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
ActivityListeners.ActivityListenerList.onPostFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
ActivityListeners.ActivityListenerAdapter.onPostFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
EventLogger.onPreFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
DeadlockTracker.onPreFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
ActivityListeners.ActivityListener.onPreFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
ActivityListeners.ActivityListenerList.onPreFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
ActivityListeners.ActivityListenerAdapter.onPreFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
BaseRuntime.registerListenerForMetrics(HabaneroActivity habaneroActivity)
registerListenerForMetrics.
|
protected void |
BaseRuntime.runActivity(HabaneroActivity activity)
Submit an activity to place's thread pool This method is initialize some activity properties such as FinishState
and current Place.
|
void |
EventLogger.updateActivityFromCompanion(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
void |
DeadlockTracker.updateActivityFromCompanion(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
void |
ActivityListeners.ActivityListener.updateActivityFromCompanion(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
void |
ActivityListeners.ActivityListenerList.updateActivityFromCompanion(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
void |
ActivityListeners.ActivityListenerAdapter.updateActivityFromCompanion(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
void |
EventLogger.updateCompanionFromActivity(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
void |
DeadlockTracker.updateCompanionFromActivity(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
void |
ActivityListeners.ActivityListener.updateCompanionFromActivity(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
void |
ActivityListeners.ActivityListenerList.updateCompanionFromActivity(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
void |
ActivityListeners.ActivityListenerAdapter.updateCompanionFromActivity(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
Constructor and Description |
---|
ResumableTask(HabaneroActivity pActivity)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
HabaneroActivity |
ForkJoinThread.currentActivity()
currentActivity.
|
HabaneroActivity |
ForkJoinThread.unstashActivity() |
Modifier and Type | Method and Description |
---|---|
void |
ForkJoinThread.currentActivity(HabaneroActivity newCurrentActivity)
currentActivity.
|
Modifier and Type | Method and Description |
---|---|
HjMetrics |
AbstractMetricsManager.computeMetrics(HabaneroActivity currentActivity)
computeMetrics.
|
<T> void |
AbstractMetricsManager.onActivityDependenciesReady(HabaneroActivity activity,
List<HjFuture<T>> dependencies)
Callback for the event when all the activities dependencies are ready.
|
void |
AbstractMetricsManager.onActivityEnd(HabaneroActivity activity,
FinishState finishState,
Throwable throwable)
Callback for when the event ends execution.
|
void |
AbstractMetricsManager.onActivityResume(HabaneroActivity activity)
Callback for when the event execution is resumed.
|
void |
AbstractMetricsManager.onActivitySpawn(HabaneroActivity parentActivity,
HabaneroActivity childActivity)
Callback for when the event ends execution.
|
void |
AbstractMetricsManager.onActivityStart(HabaneroActivity activity)
Callback for when the event starts execution.
|
void |
AbstractMetricsManager.onActivitySuspend(HabaneroActivity activity)
Callback for when the event execution is suspended.
|
void |
AbstractMetricsManager.onFinishScopeStart(HabaneroActivity activity,
FinishState finishState) |
void |
AbstractMetricsManager.onIsolatedLockEvent(HabaneroActivity activity,
String propertyName,
HabaneroLock lock,
BufferedCompanionMetric metric) |
void |
AbstractMetricsManager.onPhaserReady(HabaneroActivity activity,
List<HjPhaserPair> phaserPairList) |
void |
AbstractMetricsManager.onPostFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
AbstractMetricsManager.onPreFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
AbstractMetricsManager.updateActivityFromCompanion(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
void |
AbstractMetricsManager.updateCompanionFromActivity(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
Modifier and Type | Method and Description |
---|---|
protected void |
PhaserManagerImpl.deregisterPhasers(HabaneroActivity activity)
deregisterPhasers.
|
void |
PhaserManagerImpl.doNext(HabaneroActivity activity)
Performs a next operation with the given activity.
|
void |
PhaserManager.doNext(HabaneroActivity activity)
Performs a next operation with the given activity.
|
protected int |
PhaserManagerImpl.doNextSinglePhase1(HabaneroActivity activity,
String loc)
doNextSinglePhase1.
|
protected void |
PhaserManagerImpl.doNextSinglePhase2(HabaneroActivity activity)
doNextSinglePhase2.
|
void |
PhaserManagerImpl.doSignal(HabaneroActivity activity,
boolean earlySignal)
Performs a phaser signal operation with the given activity.
|
void |
PhaserManager.doSignal(HabaneroActivity activity,
boolean earlySignal)
Performs a phaser signal operation with the given activity.
|
void |
PhaserManagerImpl.doSignal(HabaneroActivity activity,
InternalPhaser phaser,
boolean earlySignal,
boolean fromDrop)
Performs a signal operation with the given activity.
|
void |
PhaserManager.doSignal(HabaneroActivity activity,
InternalPhaser phaser,
boolean earlySignal,
boolean fromDrop)
Performs a signal operation with the given activity.
|
void |
PhaserManagerImpl.doWait(HabaneroActivity activity)
Performs a phaser wait operation with the given activity.
|
void |
PhaserManager.doWait(HabaneroActivity activity)
Performs a phaser wait operation with the given activity.
|
void |
PhaserManagerImpl.doWait(HabaneroActivity activity,
InternalPhaser phaser)
Performs a wait operation with the given activity.
|
void |
PhaserManager.doWait(HabaneroActivity activity,
InternalPhaser phaser)
Performs a wait operation with the given activity.
|
boolean |
PhaserManagerImpl.doWaitForNextSinglePhase1(HabaneroActivity activity,
InternalPhaser phaser,
String loc)
Performs the first stage wait operation with the given activity in next-with-signal mode.
|
boolean |
PhaserManager.doWaitForNextSinglePhase1(HabaneroActivity activity,
InternalPhaser phaser,
String loc)
Performs the first stage wait operation with the given activity in next-with-signal mode.
|
void |
PhaserManagerImpl.doWaitForNextSinglePhase2(HabaneroActivity activity,
InternalPhaser phaser)
Performs the second stage wait operation with the given activity in next-with-signal mode.
|
void |
PhaserManager.doWaitForNextSinglePhase2(HabaneroActivity activity,
InternalPhaser phaser)
Performs the second stage wait operation with the given activity in next-with-signal mode.
|
boolean |
PhaserManagerImpl.dropPhaser(HabaneroActivity activity,
InternalPhaser phaser,
boolean activityEndSignal)
Drops the phaser registered with an activity.
|
boolean |
PhaserManager.dropPhaser(HabaneroActivity activity,
InternalPhaser phaser,
boolean activityEndSignal)
Drops the phaser registered with an activity.
|
int |
PhaserManagerImpl.getSigPhase(HabaneroActivity activity,
InternalPhaser phaser)
getSigPhase.
|
int |
PhaserManager.getSigPhase(HabaneroActivity activity,
InternalPhaser phaser)
getSigPhase.
|
int |
PhaserManagerImpl.getWaitPhase(HabaneroActivity activity,
InternalPhaser phaser)
getWaitPhase.
|
int |
PhaserManager.getWaitPhase(HabaneroActivity activity,
InternalPhaser phaser)
getWaitPhase.
|
void |
PhaserManagerImpl.inheritPhasers(HabaneroActivity parentActivity,
HabaneroActivity childActivity)
Registers a phaser to the specified activity.
|
void |
PhaserManager.inheritPhasers(HabaneroActivity parentActivity,
HabaneroActivity childActivity)
Registers a phaser to the specified activity.
|
<T> void |
PhaserManagerImpl.onActivityDependenciesReady(HabaneroActivity activity,
List<HjFuture<T>> dependencies)
Callback for the event when all the activities dependencies are ready.
|
void |
PhaserManagerImpl.onActivityEnd(HabaneroActivity activity,
FinishState finishState,
Throwable throwable)
Callback for when the event ends execution.
|
void |
PhaserManagerImpl.onActivityResume(HabaneroActivity activity)
Callback for when the event execution is resumed.
|
void |
PhaserManagerImpl.onActivitySpawn(HabaneroActivity parentActivity,
HabaneroActivity childActivity)
Callback for when the event ends execution.
|
void |
PhaserManagerImpl.onActivityStart(HabaneroActivity activity)
Callback for when the event starts execution.
|
void |
PhaserManagerImpl.onActivitySuspend(HabaneroActivity activity)
Callback for when the event execution is suspended.
|
void |
PhaserManagerImpl.onFinishScopeStart(HabaneroActivity activity,
FinishState finishState) |
void |
PhaserManagerImpl.onPhaserReady(HabaneroActivity activity,
List<HjPhaserPair> phaserPairList) |
void |
PhaserManagerImpl.onPostFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
void |
PhaserManagerImpl.onPreFinishScopeEnd(HabaneroActivity activity,
FinishState finishState) |
HjPhaserMode |
PhaserManagerImpl.phaserMode(HabaneroActivity activity,
InternalPhaser phaser)
phaserMode.
|
HjPhaserMode |
PhaserManager.phaserMode(HabaneroActivity activity,
InternalPhaser phaser)
phaserMode.
|
void |
PhaserManagerImpl.register(HabaneroActivity parentActivity,
HabaneroActivity childActivity,
InternalPhaser phaser,
HjPhaserMode phaserMode)
register.
|
void |
PhaserManager.register(HabaneroActivity parentActivity,
HabaneroActivity childActivity,
InternalPhaser phaser,
HjPhaserMode phaserMode)
register.
|
void |
PhaserImpl.register(HabaneroActivity activity,
HjPhaserMode mode)
register.
|
void |
InternalPhaser.register(HabaneroActivity activity,
HjPhaserMode mode)
register.
|
boolean |
PhaserManagerImpl.registered(HabaneroActivity activity,
InternalPhaser phaser)
registered.
|
boolean |
PhaserManager.registered(HabaneroActivity activity,
InternalPhaser phaser)
registered.
|
void |
PhaserManagerImpl.registerPhaserToIEF(HabaneroActivity activity,
InternalPhaser phaser)
Registers a phaser to the immediately enclosing finish defined by the activity.
|
void |
PhaserManager.registerPhaserToIEF(HabaneroActivity activity,
InternalPhaser phaser)
Registers a phaser to the immediately enclosing finish defined by the activity.
|
protected void |
PhaserManagerImpl.resume(HabaneroActivity activity,
InternalPhaser phaser,
boolean newValue)
resume.
|
boolean |
PhaserManagerImpl.resumed(HabaneroActivity activity,
InternalPhaser phaser)
resumed.
|
boolean |
PhaserManager.resumed(HabaneroActivity activity,
InternalPhaser phaser)
resumed.
|
void |
PhaserManagerImpl.updateActivityFromCompanion(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
void |
PhaserManagerImpl.updateCompanionFromActivity(HabaneroActivity activity,
CompanionMetrics companionMetrics) |
Modifier and Type | Class and Description |
---|---|
class |
SimtActivity |
Modifier and Type | Method and Description |
---|---|
HabaneroActivity |
SimtThread.currentActivity()
currentActivity.
|
HabaneroActivity |
SimtActivity.getParentActivity() |
HabaneroActivity |
SimtThread.unstashActivity() |
Modifier and Type | Method and Description |
---|---|
void |
SimtThread.currentActivity(HabaneroActivity newCurrentActivity)
currentActivity.
|
Constructor and Description |
---|
SimtActivity(String name,
HjPlace hjPlace,
long workInMiliseconds,
int maxParallelism,
int startRange,
int endRange,
HjSuspendingProcedureInt2D runnable,
SimtRuntime hjRuntime,
HabaneroActivity parentActivity,
HjPhaserPair ph)
Constructor for SimtActivity.
|
SimtActivity(String name,
HjPlace hjPlace,
long workInMiliseconds,
int maxParallelism,
int startRange,
int endRange,
HjSuspendingProcedureInt2D runnable,
SimtRuntime hjRuntime,
HabaneroActivity parentActivity,
HjPhaserPair ph,
SimtActivity.CommonSimtActivityData commonSynchronizedData) |
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.