diff options
-rw-r--r-- | runtime/interpreter/mterp/README.txt | 2 | ||||
-rw-r--r-- | runtime/monitor.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/runtime/interpreter/mterp/README.txt b/runtime/interpreter/mterp/README.txt index 54bb634cb5..c5509113f9 100644 --- a/runtime/interpreter/mterp/README.txt +++ b/runtime/interpreter/mterp/README.txt @@ -78,4 +78,4 @@ to a mode that requires inter-instruction checking, rIBASE is changed to altHandlerTable. Note that this change is not immediate. What is actually changed is the value of curHandlerTable - which is part of the interpBreak structure. Rather than explicitly check for changes, each thread will -blindly refresh rIBASE at backward branches, exception throws and returns. +unconditionally refresh rIBASE at backward branches, exception throws and returns. diff --git a/runtime/monitor.h b/runtime/monitor.h index 0714da1a94..c0a0a4fadc 100644 --- a/runtime/monitor.h +++ b/runtime/monitor.h @@ -350,11 +350,11 @@ class Monitor { // - If contention reporting is enabled, we use the lock_owner_request_ field to have the // contending thread request them. The current owner then sets them when releasing the monitor, // making them available when the contending thread acquires the monitor. - // - If both are enabled, we blindly do both. This usually prevents us from switching between - // reporting the end and beginning of critical sections for contention logging when tracing is - // enabled. We expect that tracing overhead is normally much higher than for contention - // logging, so the added cost should be small. It also minimizes glitches when enabling and - // disabling traces. + // - If tracing and contention reporting are enabled, we do both. This usually prevents us from + // switching between reporting the end and beginning of critical sections for contention logging + // when tracing is enabled. We expect that tracing overhead is normally much higher than for + // contention logging, so the added cost should be small. It also minimizes glitches when + // enabling and disabling traces. // We're tolerant of missing information. E.g. when tracing is initially turned on, we may // not have the lock holder information if the holder acquired the lock with tracing off. // |