Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/heapRegion.cpp @ 17773:8ee855b4e667
8036025: Sort the freelist in order to shrink the heap
Summary: The free list is being maintained in a sorted fashion and old and humongous regions are allocated from the bottom of the heap while young regions are allocated at the top.
Reviewed-by: tschatzl, mgerdin
Contributed-by: jesper.wilhelmsson@oracle.com, staffan.friberg@oracle.com
author | jwilhelm |
---|---|
date | Fri, 28 Feb 2014 15:27:09 +0100 |
parents | 96b1c2e06e25 |
children | 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
17763:6e7e363c5a8f | 17773:8ee855b4e667 |
---|---|
354 _in_collection_set(false), | 354 _in_collection_set(false), |
355 _next_in_special_set(NULL), _orig_end(NULL), | 355 _next_in_special_set(NULL), _orig_end(NULL), |
356 _claimed(InitialClaimValue), _evacuation_failed(false), | 356 _claimed(InitialClaimValue), _evacuation_failed(false), |
357 _prev_marked_bytes(0), _next_marked_bytes(0), _gc_efficiency(0.0), | 357 _prev_marked_bytes(0), _next_marked_bytes(0), _gc_efficiency(0.0), |
358 _young_type(NotYoung), _next_young_region(NULL), | 358 _young_type(NotYoung), _next_young_region(NULL), |
359 _next_dirty_cards_region(NULL), _next(NULL), _pending_removal(false), | 359 _next_dirty_cards_region(NULL), _next(NULL), _prev(NULL), _pending_removal(false), |
360 #ifdef ASSERT | 360 #ifdef ASSERT |
361 _containing_set(NULL), | 361 _containing_set(NULL), |
362 #endif // ASSERT | 362 #endif // ASSERT |
363 _young_index_in_cset(-1), _surv_rate_group(NULL), _age_index(-1), | 363 _young_index_in_cset(-1), _surv_rate_group(NULL), _age_index(-1), |
364 _rem_set(NULL), _recorded_rs_length(0), _predicted_elapsed_time_ms(0), | 364 _rem_set(NULL), _recorded_rs_length(0), _predicted_elapsed_time_ms(0), |