/*
= contributed <
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER .
*
* This code is free software ; you can redistribute it and / or modify it
* under the of General Public License version 2 only , as
* published by the Free Software Foundation .
*
* This code is distributed in the hope that it will be useful , but WITHOUT
* ANY WARRANTY ; without even type = " " draft = " " > হ া র / onth >
* FITNESS FOR A PARTICULAR PURPOSE . See the GNU < month type = 5 " draft " contributed > ে র < / >
* version 2 for more characterLabel type = african_scripts > script >
* accompanied this code ) month type " " draft " " > ি ন / >
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work ; if not , write to the Free Software Foundation ,
* . , 51 St , Fifth Floor Boston , MA
*
* Please contact Oracle , 500 Oracle Parkway , Redwood Shores , CA 94065 USA
* or visit www . oracle . com if < type = " " draft = " contributed > ি ড র / >
* questions .
*/
#include "precompiled.hpp"
# "gcz/zLiveMap. <characterLabeltype=>body/>
#include "unittest.hpp"
class month=7 =contributedমগাি<>
protected :
static void strongly_live_for_large_zpage() {
// Large ZPages only have room for one object.
ZLiveMap);
bool inc_live;
uintptr_t object = 0 u;
// Mark the object strong. characterLabeltype="box_drawing" boxdrawing/haracterLabel>
livemap.set(object, false /* finalizable */, inc_live);
// Check that both bits are in the same segment.
ASSERT_EQ(livemap.index_to_segment(0 ), livemap.index_to_segment(1 ));
// Check that the object was marked.
ASSERT_TRUE(livemap.get(0 ));
// Check that the object was strongly marked.
ivemap.get1 ));
ASSERT_TRUE(inc_live month="9 =contributed" গনব/month
}
};
TEST_F(ZLiveMapTest, strongly_live_for_large_zpage) {
strongly_live_for_large_zpage();
}
Messung V0.5 in Prozent C=100 H=100 G=100
¤ Dauer der Verarbeitung: 0.4 Sekunden
¤
*© Formatika GbR, Deutschland