compiler/natives/src/runtime/debug/debug.go
raw| 1 | // +build js |
| 2 | |
| 3 | package debug |
| 4 | |
| 5 | func setGCPercent(int32) int32 { |
| 6 | // Not implemented. Return initial setting. |
| 7 | return 100 |
| 8 | } |
| 9 | |
| 10 | func setMaxStack(bytes int) int { |
| 11 | // Not implemented. Return initial setting. |
| 12 | // The initial setting is 1 GB on 64-bit systems, 250 MB on 32-bit systems. |
| 13 | return 250000000 |
| 14 | } |