equal
deleted
inserted
replaced
31 #include "memory/metaspace/chunkLevel.hpp" |
31 #include "memory/metaspace/chunkLevel.hpp" |
32 #include "memory/metaspace/chunkManager.hpp" |
32 #include "memory/metaspace/chunkManager.hpp" |
33 #include "memory/metaspace/counter.hpp" |
33 #include "memory/metaspace/counter.hpp" |
34 #include "memory/metaspace/commitLimiter.hpp" |
34 #include "memory/metaspace/commitLimiter.hpp" |
35 #include "memory/metaspace/commitMask.hpp" |
35 #include "memory/metaspace/commitMask.hpp" |
|
36 #include "memory/metaspace/leftOverBins.inline.hpp" |
36 #include "memory/metaspace/metachunk.hpp" |
37 #include "memory/metaspace/metachunk.hpp" |
37 #include "memory/metaspace/metaspaceCommon.hpp" |
38 #include "memory/metaspace/metaspaceCommon.hpp" |
38 #include "memory/metaspace/metaspaceEnums.hpp" |
39 #include "memory/metaspace/metaspaceEnums.hpp" |
39 #include "memory/metaspace/metaspaceStatistics.hpp" |
40 #include "memory/metaspace/metaspaceStatistics.hpp" |
40 #include "memory/metaspace/virtualSpaceList.hpp" |
41 #include "memory/metaspace/virtualSpaceList.hpp" |
61 using metaspace::CommitLimiter; |
62 using metaspace::CommitLimiter; |
62 using metaspace::CommitMask; |
63 using metaspace::CommitMask; |
63 using metaspace::SizeCounter; |
64 using metaspace::SizeCounter; |
64 using metaspace::SizeAtomicCounter; |
65 using metaspace::SizeAtomicCounter; |
65 using metaspace::IntCounter; |
66 using metaspace::IntCounter; |
|
67 using metaspace::LeftOverManager; |
66 using metaspace::Metachunk; |
68 using metaspace::Metachunk; |
67 using metaspace::MetachunkList; |
69 using metaspace::MetachunkList; |
68 using metaspace::MetachunkListCluster; |
70 using metaspace::MetachunkListCluster; |
69 using metaspace::Settings; |
71 using metaspace::Settings; |
70 using metaspace::sm_stats_t; |
72 using metaspace::sm_stats_t; |
195 // Use check_marked_range to check the range. In contrast to check_range_for_pattern, only the original |
197 // Use check_marked_range to check the range. In contrast to check_range_for_pattern, only the original |
196 // range can be checked. |
198 // range can be checked. |
197 void mark_range(MetaWord* p, uintx pattern, size_t word_size); |
199 void mark_range(MetaWord* p, uintx pattern, size_t word_size); |
198 bool check_marked_range(const MetaWord* p, uintx pattern, size_t word_size); |
200 bool check_marked_range(const MetaWord* p, uintx pattern, size_t word_size); |
199 |
201 |
|
202 void mark_range(MetaWord* p, size_t word_size); |
|
203 bool check_marked_range(const MetaWord* p, size_t word_size); |
|
204 |
200 ////////////////////////////////////////////////////////// |
205 ////////////////////////////////////////////////////////// |
201 // Some helpers to avoid typing out those annoying casts for NULL |
206 // Some helpers to avoid typing out those annoying casts for NULL |
202 |
207 |
203 #define ASSERT_NOT_NULL(ptr) ASSERT_NE((void*)NULL, (void*)ptr) |
208 #define ASSERT_NOT_NULL(ptr) ASSERT_NE((void*)NULL, (void*)ptr) |
204 #define ASSERT_NULL(ptr) ASSERT_EQ((void*)NULL, (void*)ptr) |
209 #define ASSERT_NULL(ptr) ASSERT_EQ((void*)NULL, (void*)ptr) |