aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/mpmtypes.h
diff options
context:
space:
mode:
authorRichard Kistruck2006-12-11 16:17:31 +0000
committerRichard Kistruck2006-12-11 16:17:31 +0000
commit62770e1f4ae3c8d73bb460a86b3dc90cc1f5622a (patch)
tree7be908344fcfd92a06fd0d7a4a1f08d458a5f15a /mps/code/mpmtypes.h
parent0a9f08cef4625ef9aa446de426b3e010ce892ff5 (diff)
downloademacs-62770e1f4ae3c8d73bb460a86b3dc90cc1f5622a.tar.gz
emacs-62770e1f4ae3c8d73bb460a86b3dc90cc1f5622a.zip
Mps _gc_start: make tracestartmessage reasons specific trigger names, not broad categories.
Make _why text more explanatory. Copied from Perforce Change: 161196 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/mpmtypes.h')
-rw-r--r--mps/code/mpmtypes.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/mps/code/mpmtypes.h b/mps/code/mpmtypes.h
index 7686ba26e16..ba49f280350 100644
--- a/mps/code/mpmtypes.h
+++ b/mps/code/mpmtypes.h
@@ -404,14 +404,17 @@ enum {
404 TraceFINISHED 404 TraceFINISHED
405}; 405};
406 406
407/* TraceStart reasons. Reasons for why a trace is started. */ 407/* TraceStart reasons: the trigger that caused a trace to start. */
408/* Make these specific trigger names, not broad categories; */
409/* and if a new trigger is added, add a new reason. */
408 410
409enum { 411enum {
410 TraceStartWhyBASE = 1, /* not a reason, the base of the enum. */ 412 TraceStartWhyBASE = 1, /* not a reason, the base of the enum. */
411 TraceStartWhyNURSERY = TraceStartWhyBASE, 413 TraceStartWhyCHAIN_GEN0CAP = TraceStartWhyBASE, /* start minor */
412 TraceStartWhyGLOBAL, 414 TraceStartWhyDYNAMICCRITERION, /* start full */
413 TraceStartWhyOPPORTUNISM, 415 TraceStartWhyOPPORTUNISM, /* start full */
414 TraceStartWhyCLIENT, 416 TraceStartWhyCLIENTFULL_INCREMENTAL, /* start full */
417 TraceStartWhyCLIENTFULL_BLOCK, /* do full */
415 TraceStartWhyWALK, 418 TraceStartWhyWALK,
416 TraceStartWhyLIMIT /* not a reason, the limit of the enum. */ 419 TraceStartWhyLIMIT /* not a reason, the limit of the enum. */
417}; 420};