]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/cmd/compile/internal/test/inl_test.go
runtime: implement experiment to replace heap bitmap with alloc headers
[gostls13.git] / src / cmd / compile / internal / test / inl_test.go
index 2a16b21cef76ea77dacd493da4ed6da86ab0cca9..5705c356e247c2edc4f67f7ed304f788a7cd757d 100644 (file)
@@ -51,6 +51,7 @@ func TestIntendedInlining(t *testing.T) {
                        "getMCache",
                        "isDirectIface",
                        "itabHashFunc",
+                       "nextslicecap",
                        "noescape",
                        "pcvalueCacheKey",
                        "readUnaligned32",
@@ -72,11 +73,13 @@ func TestIntendedInlining(t *testing.T) {
                        "gclinkptr.ptr",
                        "guintptr.ptr",
                        "writeHeapBitsForAddr",
+                       "heapBitsSlice",
                        "markBits.isMarked",
                        "muintptr.ptr",
                        "puintptr.ptr",
                        "spanOf",
                        "spanOfUnchecked",
+                       "typePointers.nextFast",
                        "(*gcWork).putFast",
                        "(*gcWork).tryGetFast",
                        "(*guintptr).set",
@@ -85,6 +88,7 @@ func TestIntendedInlining(t *testing.T) {
                        "(*mspan).base",
                        "(*mspan).markBitsForBase",
                        "(*mspan).markBitsForIndex",
+                       "(*mspan).writeHeapBits",
                        "(*muintptr).set",
                        "(*puintptr).set",
                        "(*wbBuf).get1",
@@ -107,6 +111,9 @@ func TestIntendedInlining(t *testing.T) {
                        "(*Buffer).UnreadByte",
                        "(*Buffer).tryGrowByReslice",
                },
+               "internal/abi": {
+                       "UseInterfaceSwitchCache",
+               },
                "compress/flate": {
                        "byLiteral.Len",
                        "byLiteral.Less",
@@ -180,19 +187,15 @@ func TestIntendedInlining(t *testing.T) {
                "net": {
                        "(*UDPConn).ReadFromUDP",
                },
-               // These testpoints commented out for now, since CL 479095
-               // had to be reverted. We can re-enable this once we roll
-               // forward with a new version of 479095.
-               /*
-                       "sync": {
-                               // Both OnceFunc and its returned closure need to be inlinable so
-                               // that the returned closure can be inlined into the caller of OnceFunc.
-                               "OnceFunc",
-                               "OnceFunc.func2", // The returned closure.
-                               // TODO(austin): It would be good to check OnceValue and OnceValues,
-                               // too, but currently they aren't reported because they have type
-                               // parameters and aren't instantiated in sync.
-                       }, */
+               "sync": {
+                       // Both OnceFunc and its returned closure need to be inlinable so
+                       // that the returned closure can be inlined into the caller of OnceFunc.
+                       "OnceFunc",
+                       "OnceFunc.func2", // The returned closure.
+                       // TODO(austin): It would be good to check OnceValue and OnceValues,
+                       // too, but currently they aren't reported because they have type
+                       // parameters and aren't instantiated in sync.
+               },
                "sync/atomic": {
                        // (*Bool).CompareAndSwap handled below.
                        "(*Bool).Load",