process_prims.cpp File Reference

#include "incls/_precompiled.incl"
#include "incls/_process_prims.cpp.incl"

Include dependency graph for process_prims.cpp:

Go to the source code of this file.

Defines

#define ASSERT_RECEIVER   assert(receiver->is_process(), "receiver must be process")

Functions

 PRIM_DECL_2 (processOopPrimitives::create, oop receiver, oop block)
 PRIM_DECL_0 (processOopPrimitives::yield)
 PRIM_DECL_0 (processOopPrimitives::stop)
 PRIM_DECL_1 (processOopPrimitives::transferTo, oop process)
 PRIM_DECL_3 (processOopPrimitives::set_mode, oop process, oop mode, oop value)
 PRIM_DECL_1 (processOopPrimitives::start_evaluator, oop process)
 PRIM_DECL_1 (processOopPrimitives::terminate, oop receiver)
 PRIM_DECL_0 (processOopPrimitives::activeProcess)
 PRIM_DECL_1 (processOopPrimitives::status, oop process)
 PRIM_DECL_1 (processOopPrimitives::scheduler_wait, oop milliseconds)
 PRIM_DECL_2 (processOopPrimitives::trace_stack, oop receiver, oop size)
 PRIM_DECL_0 (processOopPrimitives::enter_critical)
 PRIM_DECL_0 (processOopPrimitives::leave_critical)
 PRIM_DECL_0 (processOopPrimitives::yield_in_critical)
 PRIM_DECL_1 (processOopPrimitives::user_time, oop receiver)
 PRIM_DECL_1 (processOopPrimitives::system_time, oop receiver)
 PRIM_DECL_2 (processOopPrimitives::stack, oop receiver, oop limit)


Define Documentation

#define ASSERT_RECEIVER   assert(receiver->is_process(), "receiver must be process")

Definition at line 31 of file process_prims.cpp.


Function Documentation

PRIM_DECL_0 ( processOopPrimitives::yield_in_critical   ) 

Definition at line 223 of file process_prims.cpp.

References DeltaProcess::active(), DeltaProcess::processObj(), PROLOGUE_0, DeltaProcess::suspend(), and yielded.

Here is the call graph for this function:

PRIM_DECL_0 ( processOopPrimitives::leave_critical   ) 

Definition at line 217 of file process_prims.cpp.

References DeltaProcess::active(), DeltaProcess::processObj(), and PROLOGUE_0.

Here is the call graph for this function:

PRIM_DECL_0 ( processOopPrimitives::enter_critical   ) 

Definition at line 211 of file process_prims.cpp.

References DeltaProcess::active(), DeltaProcess::processObj(), and PROLOGUE_0.

Here is the call graph for this function:

PRIM_DECL_0 ( processOopPrimitives::activeProcess   ) 

Definition at line 162 of file process_prims.cpp.

References DeltaProcess::active(), assert, oopDesc::is_process(), DeltaProcess::processObj(), and PROLOGUE_0.

Here is the call graph for this function:

PRIM_DECL_0 ( processOopPrimitives::stop   ) 

Definition at line 55 of file process_prims.cpp.

References DeltaProcess::active(), DeltaProcess::processObj(), PROLOGUE_0, stopped, and DeltaProcess::suspend().

Here is the call graph for this function:

PRIM_DECL_0 ( processOopPrimitives::yield   ) 

Definition at line 47 of file process_prims.cpp.

References DeltaProcess::active(), DeltaProcess::processObj(), PROLOGUE_0, DeltaProcess::suspend(), and yielded.

Here is the call graph for this function:

PRIM_DECL_1 ( processOopPrimitives::system_time  ,
oop  receiver 
)

Definition at line 238 of file process_prims.cpp.

References ASSERT_RECEIVER, oopFactory::new_double(), and PROLOGUE_1.

Here is the call graph for this function:

PRIM_DECL_1 ( processOopPrimitives::user_time  ,
oop  receiver 
)

Definition at line 232 of file process_prims.cpp.

References ASSERT_RECEIVER, oopFactory::new_double(), and PROLOGUE_1.

Here is the call graph for this function:

PRIM_DECL_1 ( processOopPrimitives::scheduler_wait  ,
oop  milliseconds 
)

Definition at line 181 of file process_prims.cpp.

References falseObj, oopDesc::is_smi(), markSymbol(), PROLOGUE_1, trueObj, and DeltaProcess::wait_for_async_dll().

Here is the call graph for this function:

PRIM_DECL_1 ( processOopPrimitives::status  ,
oop  process 
)

Definition at line 171 of file process_prims.cpp.

References oopDesc::is_process(), markSymbol(), PROLOGUE_1, and processOopDesc::status_symbol().

Here is the call graph for this function:

PRIM_DECL_1 ( processOopPrimitives::terminate  ,
oop  receiver 
)

Definition at line 144 of file process_prims.cpp.

References ErrorHandler::abort_current_process(), DeltaProcess::active(), ASSERT_RECEIVER, markSymbol(), processOopDesc::process(), PROLOGUE_1, and DeltaProcess::set_terminating().

Here is the call graph for this function:

PRIM_DECL_1 ( processOopPrimitives::start_evaluator  ,
oop  process 
)

Definition at line 119 of file process_prims.cpp.

References DeltaProcess::active(), dispatchTable::intercept_for_step(), oopDesc::is_process(), markSymbol(), processOopDesc::process(), PROLOGUE_1, DeltaProcess::scheduler(), DeltaProcess::symbol_from_state(), and DeltaProcess::transfer_to().

Here is the call graph for this function:

PRIM_DECL_1 ( processOopPrimitives::transferTo  ,
oop  process 
)

Definition at line 63 of file process_prims.cpp.

References DeltaProcess::active(), oopDesc::is_process(), markSymbol(), processOopDesc::process(), PROLOGUE_1, DeltaProcess::scheduler(), DeltaProcess::symbol_from_state(), and DeltaProcess::transfer_to().

Here is the call graph for this function:

PRIM_DECL_2 ( processOopPrimitives::stack  ,
oop  receiver,
oop  limit 
)

Definition at line 244 of file process_prims.cpp.

References DeltaProcess::active(), ASSERT_RECEIVER, oopDesc::is_smi(), DeltaProcess::last_delta_vframe(), markSymbol(), oopFactory::new_objArray(), oopFactory::new_vframe(), processOopDesc::process(), PROLOGUE_2, GrowableArray< E >::push(), running, and smiOopDesc::value().

Here is the call graph for this function:

PRIM_DECL_2 ( processOopPrimitives::trace_stack  ,
oop  receiver,
oop  size 
)

Definition at line 191 of file process_prims.cpp.

References ASSERT_RECEIVER, oopDesc::is_smi(), markSymbol(), processOopDesc::process(), PROLOGUE_2, and DeltaProcess::trace_top().

Here is the call graph for this function:

PRIM_DECL_2 ( processOopPrimitives::create  ,
oop  receiver,
oop  block 
)

Definition at line 33 of file process_prims.cpp.

References assert, oopDesc::is_klass(), oopDesc::is_process(), oopDesc::klass(), klassOopDesc::klass_part(), markSymbol(), oopFactory::new_symbol(), Klass::oop_is_process(), oopDesc::primitive_allocate(), PROLOGUE_2, processOopDesc::set_process(), and Universe::zeroArgumentBlockKlassObj().

Here is the call graph for this function:

PRIM_DECL_3 ( processOopPrimitives::set_mode  ,
oop  process,
oop  mode,
oop  value 
)

Definition at line 88 of file process_prims.cpp.

References DeltaProcess::active(), oopDesc::is_process(), markSymbol(), processOopDesc::process(), PROLOGUE_3, DeltaProcess::scheduler(), DeltaProcess::symbol_from_state(), and DeltaProcess::transfer_to().

Here is the call graph for this function:


Generated on Mon Oct 9 13:44:27 2006 for Strongtalk VM by  doxygen 1.4.7