src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp

changeset 2714
455328d90876
parent 2643
1216415d8e35
child 2715
abdfc822206f
equal deleted inserted replaced
2713:02f49b66361a 2714:455328d90876
1059 void secondary_free_list_add_as_tail(FreeRegionList* list) { 1059 void secondary_free_list_add_as_tail(FreeRegionList* list) {
1060 _secondary_free_list.add_as_tail(list); 1060 _secondary_free_list.add_as_tail(list);
1061 } 1061 }
1062 1062
1063 void append_secondary_free_list() { 1063 void append_secondary_free_list() {
1064 _free_list.add_as_tail(&_secondary_free_list); 1064 _free_list.add_as_head(&_secondary_free_list);
1065 } 1065 }
1066 1066
1067 void append_secondary_free_list_if_not_empty_with_lock() { 1067 void append_secondary_free_list_if_not_empty_with_lock() {
1068 // If the secondary free list looks empty there's no reason to 1068 // If the secondary free list looks empty there's no reason to
1069 // take the lock and then try to append it. 1069 // take the lock and then try to append it.

mercurial