V8 Project
v8::internal::InactiveThreadActivationsChecker Class Reference
+ Inheritance diagram for v8::internal::InactiveThreadActivationsChecker:
+ Collaboration diagram for v8::internal::InactiveThreadActivationsChecker:

Public Member Functions

 InactiveThreadActivationsChecker (Handle< JSArray > shared_info_array, Handle< JSArray > result)
 
void VisitThread (Isolate *isolate, ThreadLocalTop *top)
 
bool HasBlockedFunctions ()
 

Private Attributes

Handle< JSArrayshared_info_array_
 
Handle< JSArrayresult_
 
bool has_blocked_functions_
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::ThreadVisitor
virtual ~ThreadVisitor ()
 

Detailed Description

Definition at line 1930 of file liveedit.cc.

Constructor & Destructor Documentation

◆ InactiveThreadActivationsChecker()

v8::internal::InactiveThreadActivationsChecker::InactiveThreadActivationsChecker ( Handle< JSArray shared_info_array,
Handle< JSArray result 
)
inline

Definition at line 1932 of file liveedit.cc.

1934  : shared_info_array_(shared_info_array), result_(result),
1935  has_blocked_functions_(false) {
1936  }

Member Function Documentation

◆ HasBlockedFunctions()

bool v8::internal::InactiveThreadActivationsChecker::HasBlockedFunctions ( )
inline

Definition at line 1944 of file liveedit.cc.

1944  {
1945  return has_blocked_functions_;
1946  }

References has_blocked_functions_.

Referenced by v8::internal::LiveEdit::CheckAndDropActivations().

+ Here is the caller graph for this function:

◆ VisitThread()

void v8::internal::InactiveThreadActivationsChecker::VisitThread ( Isolate isolate,
ThreadLocalTop *  top 
)
inlinevirtual

Implements v8::internal::ThreadVisitor.

Definition at line 1937 of file liveedit.cc.

1937  {
1938  for (StackFrameIterator it(isolate, top); !it.done(); it.Advance()) {
1940  shared_info_array_, result_, it.frame(),
1942  }
1943  }
static bool CheckActivation(Handle< JSArray > shared_info_array, Handle< JSArray > result, StackFrame *frame, LiveEdit::FunctionPatchabilityStatus status)
Definition: liveedit.cc:1519

References v8::internal::StackFrameIterator::Advance(), v8::internal::CheckActivation(), v8::internal::LiveEdit::FUNCTION_BLOCKED_ON_OTHER_STACK, has_blocked_functions_, result_, and shared_info_array_.

+ Here is the call graph for this function:

Member Data Documentation

◆ has_blocked_functions_

bool v8::internal::InactiveThreadActivationsChecker::has_blocked_functions_
private

Definition at line 1951 of file liveedit.cc.

Referenced by HasBlockedFunctions(), and VisitThread().

◆ result_

Handle<JSArray> v8::internal::InactiveThreadActivationsChecker::result_
private

Definition at line 1950 of file liveedit.cc.

Referenced by VisitThread().

◆ shared_info_array_

Handle<JSArray> v8::internal::InactiveThreadActivationsChecker::shared_info_array_
private

Definition at line 1949 of file liveedit.cc.

Referenced by VisitThread().


The documentation for this class was generated from the following file: