-- 341670bce317dd6af8d3c066970230591a47e80c by Martijn Vels <mvels@google.com>: Change GetStack() and GetParentStack() to return absl::Span PiperOrigin-RevId: 368765721 -- 6aaab9536d6957303c7aba100c3afaa6fb0ea2c8 by Martijn Vels <mvels@google.com>: Remove locking from parent stack. This change removes the need to lock all access to `parent_stack' by making the 'copy constructor' logic specify the 'copied from' CordzInfo (where available) to the TrackCord function, after which parent_stack is immutable. PiperOrigin-RevId: 368760630 -- b19e2059cada35a8ede994833018edac94de6ddc by Martijn Vels <mvels@google.com>: Add cordz instrumentation to Cord PiperOrigin-RevId: 368746225 -- 67b8bbf980f0f4e1db79aa32968e9a715a09b51a by Martijn Vels <mvels@google.com>: Create ABSL_INTERNAL_CORDZ_ENABLED define controlling when Cordz code is enabled There are specific builds and condtions under which we don't support cordz sampling, which is per this change represented by ABSL_INTERNAL_CORDZ_ENABLED being defined. PiperOrigin-RevId: 368731603 -- 8cbfe0e3169637a620f4b66ad2bc2ce340879cb0 by Martijn Vels <mvels@google.com>: Add a `rep` property to CordzInfo to be managed by Cord logic. This change adds a `rep` property to CordzInfo, which is intended to be used by collection logic. Mini design: Cord invokes TrackCord() providing the active 'root' cordrep of the newly sampled Cord, returning a CordzInfo with a weak (uncounted) reference to this root. Cord invokes `SetCordRep()` each time the root cordrep of the sampled Cord is updated while holding `mutex()`. Cord must also obtain `mutex()` _before_ removing a reference on the old root. i.e.: Cord must guarantee that the (weak) reference held in CordzInfo is at all times valid. CordzInfo collection code can then safely obtain a (reference counted) rep pointer by adding a reference to `rep_` while holding `mutex()`. This requires only a very brief critical section inside CordzInfo logic, minimizing contention with concurrent Cord updates. Cord code should typically obtain and hold `mutex()` for the entirety of each mutating Cord operation on a sampled cord. As Cord is thread compatible, it never competes on the lock with any other thread. The only possible concurrent access is from Cordz collection code, which should be a relatively rare event. PiperOrigin-RevId: 368673758 -- 1255120dce2bdd6b4205a34a0e555e0b74b6152f by Martijn Vels <mvels@google.com>: Remove 'depth' from active recorded metrics. Going forward we do not 'live' record depth (and size), but will observe these at collection time only. PiperOrigin-RevId: 368636572 -- 83e5146e35f221736b49e9f0a8805f8c159a51db by Martijn Vels <mvels@google.com>: Make cordz targets visible in OSS PiperOrigin-RevId: 368615010 -- dcb16a4f1239151f0a8c70a8cfeb29dabbd113b8 by Martijn Vels <mvels@google.com>: Internal cleanup PiperOrigin-RevId: 368514666 GitOrigin-RevId: 341670bce317dd6af8d3c066970230591a47e80c Change-Id: I94cecfbbd441eb386f99fc5186c468a7a5538862
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| str_format | Loading commit data... | |
| char_map.h | Loading commit data... | |
| char_map_benchmark.cc | Loading commit data... | |
| char_map_test.cc | Loading commit data... | |
| charconv_bigint.cc | Loading commit data... | |
| charconv_bigint.h | Loading commit data... | |
| charconv_bigint_test.cc | Loading commit data... | |
| charconv_parse.cc | Loading commit data... | |
| charconv_parse.h | Loading commit data... | |
| charconv_parse_test.cc | Loading commit data... | |
| cord_internal.cc | Loading commit data... | |
| cord_internal.h | Loading commit data... | |
| cord_rep_flat.h | Loading commit data... | |
| cord_rep_ring.cc | Loading commit data... | |
| cord_rep_ring.h | Loading commit data... | |
| cord_rep_ring_reader.h | Loading commit data... | |
| cordz_functions.cc | Loading commit data... | |
| cordz_functions.h | Loading commit data... | |
| cordz_functions_test.cc | Loading commit data... | |
| cordz_handle.cc | Loading commit data... | |
| cordz_handle.h | Loading commit data... | |
| cordz_handle_test.cc | Loading commit data... | |
| cordz_info.cc | Loading commit data... | |
| cordz_info.h | Loading commit data... | |
| cordz_info_test.cc | Loading commit data... | |
| cordz_sample_token.cc | Loading commit data... | |
| cordz_sample_token.h | Loading commit data... | |
| cordz_sample_token_test.cc | Loading commit data... | |
| cordz_statistics.h | Loading commit data... | |
| cordz_update_tracker.h | Loading commit data... | |
| cordz_update_tracker_test.cc | Loading commit data... | |
| escaping.cc | Loading commit data... | |
| escaping.h | Loading commit data... | |
| escaping_test_common.h | Loading commit data... | |
| memutil.cc | Loading commit data... | |
| memutil.h | Loading commit data... | |
| memutil_benchmark.cc | Loading commit data... | |
| memutil_test.cc | Loading commit data... | |
| numbers_test_common.h | Loading commit data... | |
| ostringstream.cc | Loading commit data... | |
| ostringstream.h | Loading commit data... | |
| ostringstream_benchmark.cc | Loading commit data... | |
| ostringstream_test.cc | Loading commit data... | |
| pow10_helper.cc | Loading commit data... | |
| pow10_helper.h | Loading commit data... | |
| pow10_helper_test.cc | Loading commit data... | |
| resize_uninitialized.h | Loading commit data... | |
| resize_uninitialized_test.cc | Loading commit data... | |
| stl_type_traits.h | Loading commit data... | |
| str_join_internal.h | Loading commit data... | |
| str_split_internal.h | Loading commit data... | |
| string_constant.h | Loading commit data... | |
| string_constant_test.cc | Loading commit data... | |
| utf8.cc | Loading commit data... | |
| utf8.h | Loading commit data... | |
| utf8_test.cc | Loading commit data... |