int jdwpPort;
bool jdwpSuspend;
+ /* use wall clock as method profiler clock source? */
+ bool profilerWallClock;
+
/*
* Lock profiling threshold value in milliseconds. Acquires that
* exceed threshold are logged. Acquires within the threshold are
DexOptimizerMode dexOptMode;
DexClassVerifyMode classVerifyMode;
+ bool dexOptForSmp;
+
/*
* GC option flags.
*/
//int offJavaNioDirectByteBufferImpl_pointer;
/* method pointers - java.security.AccessController */
- volatile bool javaSecurityAccessControllerReady;
+ volatile int javaSecurityAccessControllerReady;
Method* methJavaSecurityAccessController_doPrivileged[4];
/* constructor method pointers; no vtable involved, so use Method* */
enum { kDPOff=0, kDPWarn, kDPErr, kDPAbort } deadlockPredictMode;
#endif
-#ifdef WITH_PROFILER
/*
* When a profiler is enabled, this is incremented. Distinct profilers
* include "dmtrace" method tracing, emulator method tracing, and
/*
* Pointers to the original methods for things that have been inlined.
* This makes it easy for us to output method entry/exit records for
- * the method calls we're not actually making.
+ * the method calls we're not actually making. (Used by method
+ * profiling.)
*/
Method** inlinedMethods;
*/
int* executedInstrCounts;
bool instructionCountEnableCount;
-#endif
/*
* Signal catcher thread (for SIGQUIT).