summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/debug/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/debug/debug.go')
-rw-r--r--src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/debug/debug.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/debug/debug.go b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/debug/debug.go
new file mode 100644
index 00000000000..6597dcc4575
--- /dev/null
+++ b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/debug/debug.go
@@ -0,0 +1,14 @@
+// +build js
+
+package debug
+
+func setGCPercent(int32) int32 {
+ // Not implemented. Return initial setting.
+ return 100
+}
+
+func setMaxStack(bytes int) int {
+ // Not implemented. Return initial setting.
+ // The initial setting is 1 GB on 64-bit systems, 250 MB on 32-bit systems.
+ return 250000000
+}