Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: impl/memory/doc.go

Issue 1911263002: Fix memory corruption bug in impl/memory (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/gae@master
Patch Set: fix comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « impl/memory/datastore_test.go ('k') | impl/memory/gkvlite_iter.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/doc.go
diff --git a/impl/memory/doc.go b/impl/memory/doc.go
index 0954f1aff3b8ef180b10224a2723ebe321cd4ee8..ef89fe1924d96e82c35f12d36c8bbef671988f85 100644
--- a/impl/memory/doc.go
+++ b/impl/memory/doc.go
@@ -5,4 +5,14 @@
// Package memory provides an implementation of infra/gae/libs/wrapper which
// backs to local memory ONLY. This is useful for unittesting, and is also used
// for the nested-transaction filter implementation.
+//
+// Debug EnvVars
+//
+// To debug GKVLite memory access for a binary that uses this memory
+// implementation, you may set the flag:
+// -luci.gae.gkvlite_trace_folder
+// to `/path/to/some/folder`. Every gkvlite memory store will be assigned
+// a numbered file in that folder, and all access to that store will be logged
+// to that file. Setting this to "-" will cause the trace information to dump to
+// stdout.
package memory
« no previous file with comments | « impl/memory/datastore_test.go ('k') | impl/memory/gkvlite_iter.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698