V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::Testing Class Reference

Public Types

enum  StressType { kStressTypeOpt, kStressTypeDeopt }
 

Static Public Member Functions

static void SetStressRunType (StressType type)
 
static int GetStressRuns ()
 
static void PrepareStressRun (int run)
 
static void DeoptimizeAll (Isolate *isolate)
 

Detailed Description

Definition at line 15 of file v8-testing.h.

Member Function Documentation

◆ DeoptimizeAll()

void v8::Testing::DeoptimizeAll ( Isolate *  isolate)
static

Force deoptimization of all functions.

Definition at line 10553 of file api.cc.

◆ GetStressRuns()

int v8::Testing::GetStressRuns ( )
static

Get the number of runs of a given test that is required to get the full stress coverage.

Definition at line 10502 of file api.cc.

◆ PrepareStressRun()

void v8::Testing::PrepareStressRun ( int  run)
static

Indicate the number of the run which is about to start. The value of run should be between 0 and one less than the result from GetStressRuns()

Definition at line 10519 of file api.cc.

◆ SetStressRunType()

void v8::Testing::SetStressRunType ( Testing::StressType  type)
static

Set the type of stressing to do. The default if not set is kStressTypeOpt.

Definition at line 10497 of file api.cc.


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