Fix comment on mark::recover_plug_info (dotnet/coreclr#10516)
author303248153 <303248153@qq.com>
Tue, 28 Mar 2017 18:12:18 +0000 (02:12 +0800)
committerSean Gillespie <sean@swgillespie.me>
Tue, 28 Mar 2017 18:12:18 +0000 (11:12 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/c9a0d6d510e92dc4ebd4b78f766c706abce0a9af

src/coreclr/src/gc/gc.cpp

index 31ceeca..9435357 100644 (file)
@@ -5589,7 +5589,7 @@ public:
 
     // We should think about whether it's really necessary to have to copy back the pre plug
     // info since it was already copied during compacting plugs. But if a plug doesn't move
-    // by < 3 ptr size, it means we'd have to recover pre plug info.
+    // by >= 3 ptr size (the size of gap_reloc_pair), it means we'd have to recover pre plug info.
     void recover_plug_info() 
     {
         if (saved_pre_p)