mirror of
https://github.com/golang/go
synced 2024-11-18 11:04:42 -07:00
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
This commit is contained in:
parent
6857264457
commit
2a6520c2d3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user