Commit 2a6520c2 authored by Dmitriy Vyukov's avatar Dmitriy Vyukov

runtime: hide mheap from GC

It contains pointers to first blocks of lots of spans.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/11416046
parent 68572644
......@@ -15,6 +15,8 @@ package runtime
#include "race.h"
#include "stack.h"
// Mark mheap as 'no pointers', it does not contain interesting pointers but occupies ~45K.
#pragma dataflag 16
MHeap runtime·mheap;
int32 runtime·checking;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment