diff options
author | Michael Anthony Knyszek <mknyszek@google.com> | 2021-01-08 16:56:24 +0000 |
---|---|---|
committer | Michael Knyszek <mknyszek@google.com> | 2021-01-08 18:15:43 +0000 |
commit | 8f6a9acbb3f63a77175eaa153cace5f3b6d611b2 (patch) | |
tree | 4bc72fe90f6c03a8ffdbb35a1d380d2f71c66551 /src/runtime | |
parent | 6598c65646dbb740a6668ffdaffec5627efc95e4 (diff) | |
download | go-8f6a9acbb3f63a77175eaa153cace5f3b6d611b2.tar.gz go-8f6a9acbb3f63a77175eaa153cace5f3b6d611b2.zip |
runtime/metrics: remove unused StopTheWorld Description field
This change removes the as-of-yet unused StopTheWorld field in the
Description struct. Adding a new field to a struct is much easier than
removing it, so let's save it for when we actually need it.
Change-Id: I8074b8569187c1a148500575fa8a661534e875d5
Reviewed-on: https://go-review.googlesource.com/c/go/+/282632
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/metrics/description.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/metrics/description.go b/src/runtime/metrics/description.go index 01c8a685ee..716802e9a2 100644 --- a/src/runtime/metrics/description.go +++ b/src/runtime/metrics/description.go @@ -46,10 +46,6 @@ type Description struct { // // This flag thus indicates whether or not it's useful to compute a rate from this value. Cumulative bool - - // StopTheWorld is whether or not the metric requires a stop-the-world - // event in order to collect it. - StopTheWorld bool } // The English language descriptions below must be kept in sync with the |