aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-10-02 18:14:28 +0200
committerSverker Eriksson <[email protected]>2015-11-26 19:48:10 +0100
commit5c9557a814ac993a72d7b045ee374745d6dcab79 (patch)
tree15079de263f2f1d1a47b0dcdc143211269c945db /erts/emulator/beam/erl_alloc.c
parentd1464746f9e2c24e7bc645a4fdb543d63a8e3e87 (diff)
downloadotp-5c9557a814ac993a72d7b045ee374745d6dcab79.tar.gz
otp-5c9557a814ac993a72d7b045ee374745d6dcab79.tar.bz2
otp-5c9557a814ac993a72d7b045ee374745d6dcab79.zip
erts: Improve alloc_SUITE:migration test
In the quest to improve code coverage in cpool_fetch
Diffstat (limited to 'erts/emulator/beam/erl_alloc.c')
-rw-r--r--erts/emulator/beam/erl_alloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c
index 0aa45acd82..c3f4fe5a63 100644
--- a/erts/emulator/beam/erl_alloc.c
+++ b/erts/emulator/beam/erl_alloc.c
@@ -3642,6 +3642,10 @@ UWord erts_alc_test(UWord op, UWord a1, UWord a2, UWord a3)
*(void**)a3 = orig_destroying_mbc;
return offset;
}
+ case 0xf17: {
+ ErtsAllocatorThrSpec_t* ts = &erts_allctr_thr_spec[ERTS_ALC_A_TEST];
+ return ts->allctr[0]->largest_mbc_size;
+ }
default:
break;
}