projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[gc] Move OOM handling into the runtime from the GC.
[mono.git]
/
mono
/
sgen
/
sgen-alloc.c
diff --git
a/mono/sgen/sgen-alloc.c
b/mono/sgen/sgen-alloc.c
index c6e6db176e47adc8a42a5ac8409a6521930b0a46..349eff5401457757c9757591a398a275d7990aab 100644
(file)
--- a/
mono/sgen/sgen-alloc.c
+++ b/
mono/sgen/sgen-alloc.c
@@
-454,8
+454,6
@@
sgen_alloc_obj (GCVTable vtable, size_t size)
LOCK_GC;
res = sgen_alloc_obj_nolock (vtable, size);
UNLOCK_GC;
- if (G_UNLIKELY (!res))
- sgen_client_out_of_memory (size);
return res;
}