projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09ca966
)
Fix comment on mark::recover_plug_info (dotnet/coreclr#10516)
author
303248153
<303248153@qq.com>
Tue, 28 Mar 2017 18:12:18 +0000
(
02:12
+0800)
committer
Sean 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
patch
|
blob
|
history
diff --git
a/src/coreclr/src/gc/gc.cpp
b/src/coreclr/src/gc/gc.cpp
index
31ceeca
..
9435357
100644
(file)
--- a/
src/coreclr/src/gc/gc.cpp
+++ b/
src/coreclr/src/gc/gc.cpp
@@
-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)