Public Member Functions | Public Attributes

JSRuntime Struct Reference

#include <jscntxt.h>

Collaboration diagram for JSRuntime:

List of all members.

Public Member Functions

bool debuggerInhibitsJIT () const
 JSRuntime ()
 ~JSRuntime ()
bool init (uint32 maxbytes)
void setGCTriggerFactor (uint32 factor)
void setGCLastBytes (size_t lastBytes)
void * malloc (size_t bytes)
void * calloc (size_t bytes)
void * realloc (void *p, size_t bytes)
void free (void *p)
bool isGCMallocLimitReached () const
void resetGCMallocBytes ()
void setGCMaxMallocBytes (size_t value)

Public Attributes

JSRuntimeState state
JSContextCallback cxCallback
uint32 protoHazardShape
JSGCChunkInfo * gcChunkList
JSGCArenaList gcArenaList [FINALIZE_LIMIT]
JSGCDoubleArenaList gcDoubleArenaList
JSDHashTable gcRootsHash
JSDHashTable gcLocksHash
jsrefcount gcKeepAtoms
size_t gcBytes
size_t gcLastBytes
size_t gcMaxBytes
size_t gcMaxMallocBytes
uint32 gcEmptyArenaPoolLifespan
uint32 gcLevel
uint32 gcNumber
JSTracergcMarkingTracer
uint32 gcTriggerFactor
size_t gcTriggerBytes
volatile JSBool gcIsNeeded
volatile JSBool gcFlushCodeCaches
JSPackedBool gcPoke
JSPackedBool gcRunning
JSPackedBool gcRegenShapes
uint8 gcRegenShapesScopeFlag
JSGCCallback gcCallback
ptrdiff_t gcMallocBytes
JSGCArenaInfo * gcUnmarkedArenaStackTop
js::Vector< JSObject
*, 0, js::SystemAllocPolicy
gcIteratorTable
JSTraceDataOp gcExtraRootsTraceOp
void * gcExtraRootsData
JSSetSlotRequestsetSlotRequests
jsval NaNValue
jsval negativeInfinityValue
jsval positiveInfinityValue
JSLockdeflatedStringCacheLock
JSHashTabledeflatedStringCache
JSStringemptyString
JSObjectbuiltinFunctions [JSBUILTIN_LIMIT]
JSCList contextList
JSDebugHooks globalDebugHooks
JSCList trapList
JSCList watchPointList
void * data
PRLockgcLock
PRCondVargcDone
PRCondVarrequestDone
uint32 requestCount
JSThreadgcThread
PRLockrtLock
PRCondVarstateChange
PRCondVartitleSharingDone
JSTitletitleSharingTodo
PRLockdebuggerLock
JSDHashTable threads
uint32 debuggerMutations
JSSecurityCallbackssecurityCallbacks
JSDHashTable propertyTreeHash
JSScopePropertypropertyFreeList
JSArenaPool propertyArenaPool
int32 propertyRemovals
struct JSHashTablescriptFilenameTable
JSCList scriptFilenamePrefixes
PRLockscriptFilenameTableLock
const char * thousandsSeparator
const char * decimalSeparator
const char * numGrouping
JSObjectanynameObject
JSObjectfunctionNamespaceObject
volatile uint32 shapeGen
JSAtomState atomState
JSBackgroundThreaddeallocatorThread

Constructor & Destructor Documentation

JSRuntime::JSRuntime (  ) 
JSRuntime::~JSRuntime (  ) 

Member Function Documentation

void* JSRuntime::calloc ( size_t  bytes  )  [inline]
bool JSRuntime::debuggerInhibitsJIT (  )  const [inline]
void JSRuntime::free ( void *  p  )  [inline]
bool JSRuntime::init ( uint32  maxbytes  ) 
bool JSRuntime::isGCMallocLimitReached (  )  const [inline]
void* JSRuntime::malloc ( size_t  bytes  )  [inline]
void* JSRuntime::realloc ( void *  p,
size_t  bytes 
) [inline]
void JSRuntime::resetGCMallocBytes (  )  [inline]
void JSRuntime::setGCLastBytes ( size_t  lastBytes  ) 
void JSRuntime::setGCMaxMallocBytes ( size_t  value  )  [inline]
void JSRuntime::setGCTriggerFactor ( uint32  factor  ) 

Member Data Documentation

JSGCCallback JSRuntime::gcCallback
JSGCChunkInfo* JSRuntime::gcChunkList

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