erts: Fix calculation of reclaimed data during full gc
erts: Fix calculation of reclaimed data during full gc

The old code did not take take the old-heap into acount.

msantos/otp,johanclaesson/otp,lightcyphers/otp,hairyhum/otp,goertzenator/otp,paladim/otp,cobusc/otp,klarna/otp,mikpe/otp,vladdu/otp,kvakvs/otp,rlipscombe/otp,mikpe/otp,platinumthinker/otp,RaimoNiskanen/otp,sdebnath/otp,bjorng/otp,g-andrade/otp,RJ/otp,klarna/otp,RJ/otp,lhslll/otp,yangchengjian/otp,dgud/otp,haguenau/otp,johanclaesson/otp,weisslj/otp,lucafavatella/otp,theom/otp,release-project/otp,mujiatong/otp,platinumthinker/otp,cobusc/otp,ferd/otp,electricimp/otp,derek121/otp,sammoth-wazoku/otp,vic/otp,krishnakumar4a4/otp,Teino1978-Corp/otp,lianghaivv/otp,schlagert/otp,riverrun/otp,johanclaesson/otp,massemanet/otp,RJ/otp,massemanet/otp,lightcyphers/otp,marquisthunder/otp,dumbbell/otp,vladdu/otp,release-project/otp,emacsmirror/erlang,sitexa/otp,VincentHHL/otp,stolen/otp,isvilen/otp,marquisthunder/otp,cnbin/otp,lemenkov/otp,msantos/otp,lemenkov/otp,dumbbell/otp,dgud/otp,hairyhum/otp,theom/otp,NOMORECOFFEE/otp,lrascao/otp,msantos/otp,sammoth-wazoku/otp,g-andrade/otp,dgud/otp,paladim/otp,krishnakumar4a4/otp,vic/otp,fenollp/otp,uabboli/otp,uabboli/otp,bsmr-erlang/otp,gjaldon/otp,paulcager/otp,riverrun/otp,ahmedshafeeq/otp,rlipscombe/otp,gjaldon/otp,jamesruan/otp,fenollp/otp,entropiae/otp,VincentHHL/otp,schlagert/otp,potatosalad/otp,lightcyphers/otp,vinoski/otp,cobusc/otp,bugs-erlang-org/otp,haguenau/otp,getong/otp,paulcager/otp,g-andrade/otp,erlang/otp,benoitc/otp-1,bugs-erlang-org/otp,bernardd/otp,ahmedshafeeq/otp,awetzel/otp,RaimoNiskanen/otp,jamesruan/otp,basho/otp,legoscia/otp,mujiatong/otp,lightcyphers/otp,ferd/otp,massemanet/otp,jamesruan/otp,jamesruan/otp,sdebnath/otp,msantos/otp,johanclaesson/otp,msantos/otp,sitexa/otp,ahmedshafeeq/otp,RaimoNiskanen/otp,massemanet/otp,kvakvs/otp,sammoth-wazoku/otp,platinumthinker/otp,sammoth-wazoku/otp,lantti/otp,GinjaNinja32/otp,marquisthunder/otp,RichMorin/otp,derek121/otp,Teino1978-Corp/erlang-otp,yangchengjian/otp,massemanet/otp,getong/otp,lemenkov/otp,beni55/otp,riverrun/otp,RJ/otp,mujiatong/otp,johanclaesson/otp,palas/otp,c-rack/otp,RichMorin/otp,stolen/otp,RaimoNiskanen/otp,riverrun/otp,legoscia/otp,enikki/otp,mujiatong/otp,basho/otp,basho/otp,falkevik/otp,RichMorin/otp,platinumthinker/otp,palas/otp,theom/otp,schlagert/otp,lrascao/otp,VincentHHL/otp,cnbin/otp,neeraj9/otp,ader1990/otp,GinjaNinja32/otp,enikki/otp,cnbin/otp,emacsmirror/erlang,basho/otp,emile/otp,krishnakumar4a4/otp,johanclaesson/otp,mikpe/otp,fenollp/otp,emile/otp,matwey/otp,aboroska/otp,NOMORECOFFEE/otp,jj1bdx/otp,dumbbell/otp,Teino1978-Corp/erlang-otp,matwey/otp,ferd/otp,dgud/otp,electricimp/otp,erlang/otp,Teino1978-Corp/otp,lemenkov/otp,jj1bdx/otp,lantti/otp,isvilen/otp,c-rack/otp,getong/otp,theom/otp,enikki/otp,entropiae/otp,g-andrade/otp,haguenau/otp,lemenkov/otp,lianghaivv/otp,erlang/otp,jemsbhai/otp,lucafavatella/otp,aboroska/otp,vladdu/otp,bernardd/otp,potatosalad/otp,electricimp/otp,GinjaNinja32/otp,c-rack/otp,bugs-erlang-org/otp,vic/otp,bernardd/otp,hairyhum/otp,kvakvs/otp,matwey/otp,bugs-erlang-org/otp,Teino1978-Corp/otp,bsmr-erlang/otp,uabboli/otp,c-rack/otp,VincentHHL/otp,kvakvs/otp,potatosalad/otp,kvakvs/otp,electricimp/otp,rlipscombe/otp,legoscia/otp,beni55/otp,tuncer/otp,beni55/otp,matwey/otp,dgud/otp,entropiae/otp,legoscia/otp,tuncer/otp,cnbin/otp,NOMORECOFFEE/otp,sdebnath/otp,lhslll/otp,theom/otp,hairyhum/otp,lemenkov/otp,emile/otp,stolen/otp,bjorng/otp,cobusc/otp,Teino1978-Corp/otp,sammoth-wazoku/otp,cobusc/otp,RoadRunnr/otp,isvilen/otp,vinoski/otp,vinoski/otp,dumbbell/otp,vinoski/otp,dgud/otp,vinoski/otp,palas/otp,lucafavatella/otp,enikki/otp,cnbin/otp,ader1990/otp,electricimp/otp,c-rack/otp,gjaldon/otp,ahmedshafeeq/otp,sitexa/otp,bernardd/otp,jemsbhai/otp,aboroska/otp,NOMORECOFFEE/otp,jj1bdx/otp,lantti/otp,mujiatong/otp,falkevik/otp,vladdu/otp,lucafavatella/otp,psyeugenic/otp,johanclaesson/otp,legoscia/otp,jemsbhai/otp,vinoski/otp,isvilen/otp,jinshana/otp,bernardd/otp,uabboli/otp,falkevik/otp,RaimoNiskanen/otp,benoitc/otp-1,mikpe/otp,basho/otp,matwey/otp,palas/otp,RGafiyatullin/otp,bugs-erlang-org/otp,bsmr-erlang/otp,fenollp/otp,emacsmirror/erlang,legoscia/otp,ferd/otp,Teino1978-Corp/erlang-otp,saleyn/otp,lianghaivv/otp,ferd/otp,tuncer/otp,neeraj9/otp,bsmr-erlang/otp,uabboli/otp,RJ/otp,bernardd/otp,bernardd/otp,mikpe/otp,dumbbell/otp,sdebnath/otp,neeraj9/otp,RGafiyatullin/otp,release-project/otp,benoitc/otp-1,electricimp/otp,emacsmirror/erlang,erlang/otp,psyeugenic/otp,enikki/otp,Teino1978-Corp/otp,kvakvs/otp,derek121/otp,dumbbell/otp,paulcager/otp,release-project/otp,entropiae/otp,psyeugenic/otp,vinoski/otp,erlang/otp,jj1bdx/otp,marquisthunder/otp,gjaldon/otp,entropiae/otp,lantti/otp,stolen/otp,vic/otp,marquisthunder/otp,saleyn/otp,yangchengjian/otp,ader1990/otp,Teino1978-Corp/erlang-otp,lrascao/otp,emile/otp,getong/otp,g-andrade/otp,falkevik/otp,Teino1978-Corp/erlang-otp,RoadRunnr/otp,isvilen/otp,Teino1978-Corp/otp,paulcager/otp,matwey/otp,goertzenator/otp,jj1bdx/otp,ahmedshafeeq/otp,gjaldon/otp,neeraj9/otp,paulcager/otp,msantos/otp,yangchengjian/otp,vic/otp,dgud/otp,lhslll/otp,jj1bdx/otp,lightcyphers/otp,electricimp/otp,lhslll/otp,entropiae/otp,ferd/otp,lrascao/otp,RGafiyatullin/otp,RoadRunnr/otp,ahmedshafeeq/otp,dgud/otp,rlipscombe/otp,ader1990/otp,lightcyphers/otp,platinumthinker/otp,mikpe/otp,derek121/otp,legoscia/otp,vic/otp,psyeugenic/otp,jj1bdx/otp,paladim/otp,beni55/otp,sammoth-wazoku/otp,bjorng/otp,jemsbhai/otp,stolen/otp,emacsmirror/erlang,saleyn/otp,klarna/otp,derek121/otp,neeraj9/otp,haguenau/otp,VincentHHL/otp,benoitc/otp-1,rlipscombe/otp,g-andrade/otp,mikpe/otp,sdebnath/otp,psyeugenic/otp,jamesruan/otp,vladdu/otp,tuncer/otp,jinshana/otp,riverrun/otp,isvilen/otp,bjorng/otp,enikki/otp,bjorng/otp,uabboli/otp,sammoth-wazoku/otp,potatosalad/otp,bugs-erlang-org/otp,emacsmirror/erlang,mujiatong/otp,basho/otp,mikpe/otp,palas/otp,g-andrade/otp,theom/otp,goertzenator/otp,hairyhum/otp,benoitc/otp-1,vladdu/otp,sdebnath/otp,fenollp/otp,krishnakumar4a4/otp,lucafavatella/otp,ader1990/otp,palas/otp,sdebnath/otp,matwey/otp,awetzel/otp,jemsbhai/otp,msantos/otp,vinoski/otp,klarna/otp,lucafavatella/otp,riverrun/otp,psyeugenic/otp,RGafiyatullin/otp,g-andrade/otp,bsmr-erlang/otp,neeraj9/otp,RoadRunnr/otp,hairyhum/otp,getong/otp,jinshana/otp,goertzenator/otp,bjorng/otp,g-andrade/otp,RoadRunnr/otp,RJ/otp,erlang/otp,riverrun/otp,yangchengjian/otp,mujiatong/otp,ader1990/otp,erlang/otp,RJ/otp,awetzel/otp,theom/otp,getong/otp,RaimoNiskanen/otp,uabboli/otp,sitexa/otp,jinshana/otp,sitexa/otp,VincentHHL/otp,massemanet/otp,electricimp/otp,release-project/otp,sitexa/otp,awetzel/otp,beni55/otp,getong/otp,bsmr-erlang/otp,c-rack/otp,emile/otp,neeraj9/otp,beni55/otp,lucafavatella/otp,c-rack/otp,beni55/otp,bugs-erlang-org/otp,marquisthunder/otp,RJ/otp,dumbbell/otp,weisslj/otp,dumbbell/otp,NOMORECOFFEE/otp,kvakvs/otp,jinshana/otp,legoscia/otp,derek121/otp,lemenkov/otp,beni55/otp,paladim/otp,NOMORECOFFEE/otp,weisslj/otp,VincentHHL/otp,vladdu/otp,weisslj/otp,RoadRunnr/otp,potatosalad/otp,GinjaNinja32/otp,falkevik/otp,stolen/otp,Teino1978-Corp/erlang-otp,schlagert/otp,vinoski/otp,neeraj9/otp,lemenkov/otp,fenollp/otp,cnbin/otp,lrascao/otp,rlipscombe/otp,jamesruan/otp,tuncer/otp,haguenau/otp,awetzel/otp,falkevik/otp,lucafavatella/otp,lrascao/otp,gjaldon/otp,cnbin/otp,theom/otp,rlipscombe/otp,bjorng/otp,dumbbell/otp,krishnakumar4a4/otp,lantti/otp,schlagert/otp,emile/otp,c-rack/otp,paulcager/otp,derek121/otp,jamesruan/otp,aboroska/otp,weisslj/otp,vladdu/otp,marquisthunder/otp,benoitc/otp-1,entropiae/otp,GinjaNinja32/otp,paulcager/otp,stolen/otp,release-project/otp,ader1990/otp,GinjaNinja32/otp,platinumthinker/otp,sdebnath/otp,sitexa/otp,ahmedshafeeq/otp,release-project/otp,palas/otp,haguenau/otp,potatosalad/otp,cobusc/otp,lightcyphers/otp,jemsbhai/otp,saleyn/otp,lianghaivv/otp,bsmr-erlang/otp,bjorng/otp,emacsmirror/erlang,RoadRunnr/otp,massemanet/otp,RaimoNiskanen/otp,GinjaNinja32/otp,RGafiyatullin/otp,lianghaivv/otp,Teino1978-Corp/otp,benoitc/otp-1,palas/otp,emile/otp,sammoth-wazoku/otp,uabboli/otp,tuncer/otp,mujiatong/otp,ader1990/otp,jemsbhai/otp,lhslll/otp,weisslj/otp,msantos/otp,gjaldon/otp,schlagert/otp,mikpe/otp,jamesruan/otp,release-project/otp,klarna/otp,platinumthinker/otp,saleyn/otp,psyeugenic/otp,RaimoNiskanen/otp,jinshana/otp,falkevik/otp,cobusc/otp,lhslll/otp,RoadRunnr/otp,mikpe/otp,saleyn/otp,dumbbell/otp,aboroska/otp,lrascao/otp,basho/otp,NOMORECOFFEE/otp,cobusc/otp,lrascao/otp,isvilen/otp,bjorng/otp,fenollp/otp,falkevik/otp,goertzenator/otp,vinoski/otp,paladim/otp,lantti/otp,klarna/otp,weisslj/otp,RGafiyatullin/otp,aboroska/otp,krishnakumar4a4/otp,riverrun/otp,aboroska/otp,jj1bdx/otp,emile/otp,platinumthinker/otp,Teino1978-Corp/otp,vladdu/otp,lantti/otp,electricimp/otp,goertzenator/otp,rlipscombe/otp,isvilen/otp,emile/otp,RaimoNiskanen/otp,schlagert/otp,RichMorin/otp,dgud/otp,RichMorin/otp,erlang/otp,johanclaesson/otp,matwey/otp,enikki/otp,awetzel/otp,lrascao/otp,sitexa/otp,stolen/otp,potatosalad/otp,jinshana/otp,potatosalad/otp,aboroska/otp,RoadRunnr/otp,RichMorin/otp,g-andrade/otp,marquisthunder/otp,bernardd/otp,ferd/otp,bsmr-erlang/otp,RichMorin/otp,entropiae/otp,dgud/otp,isvilen/otp,vic/otp,paladim/otp,jj1bdx/otp,uabboli/otp,falkevik/otp,kvakvs/otp,massemanet/otp,rlipscombe/otp,paulcager/otp,basho/otp,haguenau/otp,getong/otp,cnbin/otp,bugs-erlang-org/otp,psyeugenic/otp,getong/otp,krishnakumar4a4/otp,tuncer/otp,vic/otp,awetzel/otp,schlagert/otp,goertzenator/otp,rlipscombe/otp,derek121/otp,benoitc/otp-1,yangchengjian/otp,lightcyphers/otp,isvilen/otp,jemsbhai/otp,weisslj/otp,lhslll/otp,ferd/otp,goertzenator/otp,bernardd/otp,RGafiyatullin/otp,weisslj/otp,paladim/otp,erlang/otp,emacsmirror/erlang,ahmedshafeeq/otp,lianghaivv/otp,tuncer/otp,haguenau/otp,bsmr-erlang/otp,awetzel/otp,paladim/otp,Teino1978-Corp/erlang-otp,saleyn/otp,tuncer/otp,lantti/otp,jinshana/otp,yangchengjian/otp,basho/otp,lianghaivv/otp,klarna/otp,potatosalad/otp,jj1bdx/otp,lianghaivv/otp,matwey/otp,fenollp/otp,aboroska/otp,fenollp/otp,enikki/otp,kvakvs/otp,RichMorin/otp,erlang/otp,hairyhum/otp,massemanet/otp,VincentHHL/otp,yangchengjian/otp,saleyn/otp,gjaldon/otp,goertzenator/otp,NOMORECOFFEE/otp,release-project/otp,Teino1978-Corp/erlang-otp,emacsmirror/erlang,hairyhum/otp,krishnakumar4a4/otp,emacsmirror/erlang,saleyn/otp,bjorng/otp,klarna/otp,GinjaNinja32/otp,legoscia/otp,ahmedshafeeq/otp,potatosalad/otp,getong/otp,lhslll/otp,ferd/otp,RGafiyatullin/otp