func mallocgcSmallScanNoHeaderSC1(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC2(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC3(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC4(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC5(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC6(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC7(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC8(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC9(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC10(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC11(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC12(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC13(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC14(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC15(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC16(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC17(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC18(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC19(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC20(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC21(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC22(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC23(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC24(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC25(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallScanNoHeaderSC26(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocTiny1(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny2(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny3(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny4(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny5(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny6(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny7(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny8(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny9(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny10(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny11(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny12(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny13(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny14(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocTiny15(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 1 ==
- 1
gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
+ if goexperiment.RuntimeSecret && gp.secret > 0 {
return mallocgcSmallNoScanSC2(size, typ, needzero)
}
+
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
const elemsize = 0
{
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
x = add(x, elemsize-constsize)
}
- if goexperiment.RuntimeSecret && gp.secret > 0 {
-
- addSecret(x)
- }
-
if valgrindenabled {
valgrindMalloc(x, size)
}
func mallocgcSmallNoScanSC2(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC3(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC4(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC5(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC6(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC7(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC8(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC9(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC10(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC11(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC12(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC13(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC14(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC15(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC16(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC17(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC18(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC19(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC20(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC21(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC22(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC23(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC24(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC25(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
func mallocgcSmallNoScanSC26(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
- const isTiny = 0 ==
- 1
- gp := getg()
- if goexperiment.RuntimeSecret && isTiny && gp.secret > 0 {
- return mallocgcSmallNoScanSC2(size, typ, needzero)
- }
if doubleCheckMalloc {
if gcphase == _GCmarktermination {
throw("mallocgc called with gcphase == _GCmarktermination")
x := v
{
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)
gcStart(t)
}
}
+ gp := getg()
if goexperiment.RuntimeSecret && gp.secret > 0 {
addSecret(x)