42 Commits (dbd5a1e7460aebb0a55a35b8f850219286b5b502)

Author SHA1 Message Date
Protobuf Team Bot 08942659cf Add some tests for arena overhead, covering reasonable and pathological cases. 1 month ago
Protobuf Team Bot 8e6b7276ed Add tsan macro to detect all races on const/non-const thread compatible upb arena functions 1 month ago
Protobuf Team Bot 8afab86bcd Store the upb_Arena's struct data at the start of the initial block rather than the end. This has a few benefits: 2 months ago
Protobuf Team Bot e8206dbf62 Allow suggesting the initial block size without requiring an initial block to be provided and managed separately. This can avoid small mallocs when the approximate arena size is known. 2 months ago
Protobuf Team Bot 3580d09d69 If max block size is specified, don't add our internal bookkeeping overhead on top of it. 2 months ago
Protobuf Team Bot 66de8e7c34 Pass size to upb_alloc when freeing an arena 2 months ago
Protobuf Team Bot f3520227b5 Add support for nonstandard msvc atomics. Emit an error with the option to suppress if we don't have any atomics we can use. 2 months ago
Protobuf Team Bot ff9137bd5e New implementation of upb_Arena_SpaceAllocated that avoids inconsistency issues when racing with fuses. 2 months ago
Protobuf Team Bot 990ff76764 Dedupe implementation of DebugRefCount 2 months ago
Protobuf Team Bot 385d42a6cd Always start a retried search for root at the previous root. 2 months ago
Protobuf Team Bot 7de789ed4c Relax memory order for reference counting unfused arenas. 2 months ago
Protobuf Team Bot 301275dea4 Fix races in arena fusing 2 months ago
Protobuf Team Bot a123879666 Remove atomics from linked list of blocks 2 months ago
Protobuf Team Bot 79a34c489f Minor tidying of block size calculations - avoid unnecessary memory barriers and likely cache miss for most recent block size. 2 months ago
Protobuf Team Bot 9a8494d270 Add a upb_alloc cleanup function pointer to upb_Arena. 3 months ago
Protobuf Team Bot 7ccd5dcfc5 Internal change 4 months ago
Protobuf Team Bot 25f6eabb76 Expose function to determine whether arenas are fused 4 months ago
Joshua Haberman 67ab5bd666 Make arena fuse and inc/dec-ref const, so that they can be invoked concurrently. 4 months ago
Hong Shin 6da642ac5c upb: Arena_DoFuse typo fix 6 months ago
Joshua Haberman c841627af4 Use `default_compatible_with` instead of specifying `compatible_with` on every target. 6 months ago
Joshua Haberman 8422e9795f Migrated upb to use Copybara-standard stripping. 6 months ago
Joshua Haberman d3172f5d73 Add a maximum block size for arena growth. 8 months ago
Protobuf Team Bot 62f2b143d5 Change the arena.hpp ::Fuse return type to bool to surface whether the fuse failed. 10 months ago
Protobuf Team Bot d7f032ad15 Move private definitions out of //bazel 11 months ago
Protobuf Team Bot 2f0fe0641c Add Arena tracing handlers. 12 months ago
Mike Kruskal b6032d72e3 Add basic upb cmake support. 12 months ago
Jean byroot Boussier 87cbdddbf0 Ruby implement memsize functions for native types (#10291) 1 year ago
Eric Salo b5957f108a upb: implement _upb_Arena_Contains() 1 year ago
Eric Salo b0d3a787cc upb: Simplify inline functions in mini_table/ and mem/ and wire/ and message/ 1 year ago
Éamonn McManus fc2d9da9c0 Wrap C++ headers in `#ifdef __cplusplus`. 1 year ago
Protobuf Team Bot c5083a855a InlinedArena needs copy constructor and copy assignment operator deleted 1 year ago
Adam Cozzette 4ec9170bcd Fix layering check for usage of gtest 1 year ago
Eric Salo 3c3d77158f upb: add :test_srcs targets for cmake on GH 1 year ago
Eric Salo f50ea84d19 upb: the triumphant return of upb/mem:internal 1 year ago
Eric Salo 4d9c76b4cd upb: fix typo in IFTTT block name 1 year ago
Eric Salo fd6f83576f upb: stop returning void from void functions 1 year ago
Eric Salo e3ed59102c upb: replumb upb_Arena to be substantially more opaque 1 year ago
Eric Salo e1d3008eaf upb: tighten up the upb_Arena code 1 year ago
Protobuf Team Bot 2ff245ef18 Internal 1 year ago
Protobuf Team Bot 5c252d1f24 Change upb_Arena_IncRefFor to return error when using an initial block. 1 year ago
Protobuf Team Bot 6b00befa40 Internal change 1 year ago
Adam Cozzette 501ececd39 Reorganize upb file structure 1 year ago
Adam Cozzette 0d1ba13e83 Move everything into new upb/ directory 2 years ago
Eric Salo eb9e33ec42 upb: remove <stddef.h> and <stdlib.h> from port/def.inc 2 years ago
Eric Salo d2f10df2dc upb: split apart upb/upb.hpp, delete :upb 2 years ago
Eric Salo cc41a8bed3 upb: dedup the libraries 2 years ago
Protobuf Team Bot c552102d66 No public description 2 years ago
Adam Cozzette 5aca728f72 Reformat copyright headers 2 years ago
Jason Lunn 1b0011dfef Support ASAN detection on clang (#1424) 2 years ago
Eric Salo 3817bbb572 upb: create upb/mem/BUILD 2 years ago