浏览代码

Merge tag 'refs/tags/sync-piper' into sync-stage

Joshua Haberman 5 年之前
父节点
当前提交
9d69c754a8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/google/protobuf/arena_impl.h

+ 1 - 1
src/google/protobuf/arena_impl.h

@@ -426,7 +426,7 @@ class PROTOBUF_EXPORT ArenaImpl {
 
     // Number of per-thread lifecycle IDs to reserve. Must be power of two.
     // To reduce contention on a global atomic, each thread reserves a batch of
-    // IDs.  The following number is caluculated based on a stress test with
+    // IDs.  The following number is calculated based on a stress test with
     // ~6500 threads all frequently allocating a new arena.
     static constexpr size_t kPerThreadIds = 256;
     // Next lifecycle ID available to this thread. We need to reserve a new