/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | heapRegionSet.inline.hpp | 32 inline void HeapRegionSetBase::update_for_addition(HeapRegion* hr) { argument 36 _region_num += hr->region_num(); 37 _total_used_bytes += hr->used(); 40 inline void HeapRegionSetBase::add_internal(HeapRegion* hr) { argument 41 hrs_assert_region_ok(this, hr, NULL); 42 assert(hr->next() == NULL, hrs_ext_msg(this, "should not already be linked")); 44 update_for_addition(hr); 45 hr->set_containing_set(this); 48 inline void HeapRegionSetBase::update_for_removal(HeapRegion* hr) { argument 53 uint region_num_diff = hr 68 remove_internal(HeapRegion* hr) argument 78 add(HeapRegion* hr) argument 84 remove(HeapRegion* hr) argument 90 remove_with_proxy(HeapRegion* hr, HeapRegionSet* proxy_set) argument 104 add_as_head(HeapRegion* hr) argument 121 add_as_tail(HeapRegion* hr) argument 145 HeapRegion* hr = _head; local [all...] |
H A D | collectionSetChooser.hpp | 41 void regions_at_put(uint i, HeapRegion* hr) { argument 42 _regions.at_put((int) i, hr); 44 void regions_at_put_grow(uint i, HeapRegion* hr) { argument 45 _regions.at_put_grow((int) i, hr); 79 err_msg("Unexpected NULL hr in _regions at index %u", 88 void remove_and_move_to_next(HeapRegion* hr) { argument 89 assert(hr != NULL, "pre-condition"); 91 assert(regions_at(_curr_index) == hr, "pre-condition"); 93 assert(hr->reclaimable_bytes() <= _remaining_reclaimable_bytes, 96 hr 109 should_add(HeapRegion* hr) argument 176 add_region(HeapRegion* hr) argument 192 should_add(HeapRegion* hr) argument [all...] |
H A D | heapRegionSets.cpp | 42 const char* FreeRegionList::verify_region_extra(HeapRegion* hr) { argument 43 if (hr->is_young()) { 48 return HeapRegionLinkedList::verify_region_extra(hr); 53 const char* MasterFreeRegionList::verify_region_extra(HeapRegion* hr) { argument 57 if (!hr->rem_set()->verify_ready_for_par_iteration()) { 60 return FreeRegionList::verify_region_extra(hr); 101 const char* OldRegionSet::verify_region_extra(HeapRegion* hr) { argument 102 if (hr->is_young()) { 107 return HeapRegionSet::verify_region_extra(hr); 143 const char* HumongousRegionSet::verify_region_extra(HeapRegion* hr) { argument [all...] |
H A D | g1HRPrinter.hpp | 76 HeapRegion* hr, HeapWord* top); 97 void alloc(HeapRegion* hr, RegionType type, bool force = false) { argument 99 print((!force) ? Alloc : AllocForce, type, hr, NULL); 103 void alloc(RegionType type, HeapRegion* hr, HeapWord* top) { argument 105 print(Alloc, type, hr, top); 109 void retire(HeapRegion* hr) { argument 111 if (!SKIP_RETIRED_FULL_REGIONS || hr->top() < hr->end()) { 112 print(Retire, Unset, hr, hr 117 reuse(HeapRegion* hr) argument 123 cset(HeapRegion* hr) argument 129 evac_failure(HeapRegion* hr) argument 135 cleanup(HeapRegion* hr) argument 141 post_compaction(HeapRegion* hr, RegionType type) argument [all...] |
H A D | heapRegionSet.hpp | 107 virtual const char* verify_region_extra(HeapRegion* hr) { return NULL; } argument 108 bool verify_region(HeapRegion* hr, 130 // It updates the fields of the set to reflect hr being added to 132 inline void update_for_addition(HeapRegion* hr); 134 // It updates the fields of the set to reflect hr being added to 136 inline void add_internal(HeapRegion* hr); 138 // It updates the fields of the set to reflect hr being removed 140 inline void update_for_removal(HeapRegion* hr); 142 // It updates the fields of the set to reflect hr being removed 144 inline void remove_internal(HeapRegion* hr); 240 verify_region_extra(HeapRegion* hr) argument 371 HeapRegion* hr = _curr; local [all...] |
H A D | g1EvacFailure.hpp | 77 HeapRegion* hr, 82 _g1(g1), _cm(cm), _hr(hr), _marked_bytes(0), 171 bool doHeapRegion(HeapRegion *hr) { argument 175 assert(!hr->isHumongous(), "sanity"); 176 assert(hr->in_collection_set(), "bad CS"); 178 if (hr->claimHeapRegion(HeapRegion::ParEvacFailureClaimValue)) { 179 if (hr->evacuation_failed()) { 180 RemoveSelfForwardPtrObjClosure rspc(_g1h, _cm, hr, _update_rset_cl, 185 MemRegion mr(hr->bottom(), hr 76 RemoveSelfForwardPtrObjClosure(G1CollectedHeap* g1, ConcurrentMark* cm, HeapRegion* hr, OopsInHeapRegionClosure* update_rset_cl, bool during_initial_mark, bool during_conc_mark, uint worker_id) argument 238 HeapRegion* hr = _g1h->start_cset_region_for_worker(worker_id); local [all...] |
H A D | heapRegionSeq.inline.hpp | 44 HeapRegion* hr = _regions_biased[index_biased]; local 45 assert(hr != NULL, "invariant"); 46 return hr; 60 HeapRegion* hr = _regions[index]; 61 assert(hr != NULL, "sanity"); 62 assert(hr->hrs_index() == index, "sanity"); 63 return hr;
|
H A D | heapRegionSets.hpp | 34 virtual const char* verify_region_extra(HeapRegion* hr); 47 virtual const char* verify_region_extra(HeapRegion* hr); 68 virtual const char* verify_region_extra(HeapRegion* hr); 92 virtual const char* verify_region_extra(HeapRegion* hr);
|
H A D | g1MarkSweep.cpp | 219 void free_humongous_region(HeapRegion* hr) { argument 220 HeapWord* end = hr->end(); 224 assert(hr->startsHumongous(), 226 _g1h->free_humongous_region(hr, &dummy_pre_used, &dummy_free_list, 228 hr->prepare_for_compaction(&_cp); 231 _mrbs->clear(MemRegion(hr->compaction_top(), end)); 252 bool doHeapRegion(HeapRegion* hr) { argument 253 if (hr->isHumongous()) { 254 if (hr->startsHumongous()) { 255 oop obj = oop(hr 365 doHeapRegion(HeapRegion* hr) argument [all...] |
H A D | concurrentMark.inline.hpp | 80 inline void ConcurrentMark::count_region(MemRegion mr, HeapRegion* hr, argument 89 uint index = hr->hrs_index(); 91 assert(!hr->continuesHumongous(), "should not be HC region"); 92 assert(hr == g1h->heap_region_containing(start), "sanity"); 93 assert(hr == g1h->heap_region_containing(mr.last()), "sanity"); 121 HeapRegion* hr, 125 count_region(mr, hr, marked_bytes_array, task_card_bm); 132 HeapRegion* hr = _g1h->heap_region_containing_raw(addr); local 133 count_region(mr, hr, worker_id); 138 HeapRegion* hr, 120 count_region(MemRegion mr, HeapRegion* hr, uint worker_id) argument 137 count_object(oop obj, HeapRegion* hr, size_t* marked_bytes_array, BitMap* task_card_bm) argument 147 count_object(oop obj, HeapRegion* hr, uint worker_id) argument 158 par_mark_and_count(oop obj, HeapRegion* hr, size_t* marked_bytes_array, BitMap* task_card_bm) argument 174 par_mark_and_count(oop obj, size_t word_size, HeapRegion* hr, uint worker_id) argument 190 par_mark_and_count(oop obj, HeapRegion* hr, uint worker_id) argument 206 HeapRegion* hr = _g1h->heap_region_containing_raw(addr); local 228 mark_and_count(oop obj, HeapRegion* hr) argument 240 HeapRegion* hr = _g1h->heap_region_containing_raw(addr); local 335 HeapRegion* hr = _g1h->heap_region_containing_raw(obj); local 405 grayRoot(oop obj, size_t word_size, uint worker_id, HeapRegion* hr) argument [all...] |
H A D | heapRegionSeq.cpp | 132 HeapRegion* hr = at(index); 133 list->add_as_tail(hr); 135 next_bottom = hr->end(); 181 void HeapRegionSeq::iterate_from(HeapRegion* hr, HeapRegionClosure* blk) const { 183 if (hr != NULL) { 184 hr_index = hr->hrs_index(); 259 HeapRegion* hr = _regions[i]; local 260 guarantee(hr != NULL, err_msg("invariant: i: %u", i)); 261 guarantee(hr->bottom() == prev_end, 263 i, HR_FORMAT_PARAMS(hr), prev_en [all...] |
H A D | collectionSetChooser.cpp | 150 void CollectionSetChooser::add_region(HeapRegion* hr) { argument 151 assert(!hr->isHumongous(), 153 assert(!hr->is_young(), "should not be young!"); 154 _regions.append(hr); 156 _remaining_reclaimable_bytes += hr->reclaimable_bytes(); 157 hr->calc_gc_efficiency(); 189 void CollectionSetChooser::set_region(uint index, HeapRegion* hr) { argument 191 assert(!hr->is_young(), "should not be young!"); 192 regions_at_put(index, hr); 193 hr [all...] |
H A D | heapRegionSet.cpp | 45 bool HeapRegionSetBase::verify_region(HeapRegion* hr, argument 50 if (hr->isHumongous()) { 54 if (!hr->isHumongous() || !hr->startsHumongous()) { 60 if (hr->is_empty()) { 64 if (!hr->is_empty()) { 71 if (hr->containing_set() != expected_containing_set) { 76 const char* extra_error_message = verify_region_extra(hr); 85 out->print_cr("## Offending Region: "PTR_FORMAT, hr); 86 out->print_cr(" "HR_FORMAT, HR_FORMAT_PARAMS(hr)); 138 verify_next_region(HeapRegion* hr) argument 270 HeapRegion* hr = iter.get_next(); local 309 HeapRegion* hr = iter.get_next(); local [all...] |
H A D | g1CollectorPolicy.cpp | 1263 size_t G1CollectorPolicy::predict_bytes_to_copy(HeapRegion* hr) { argument 1265 if (hr->is_marked()) 1266 bytes_to_copy = hr->max_live_bytes(); 1268 assert(hr->is_young() && hr->age_in_surv_rate_group() != -1, "invariant"); 1269 int age = hr->age_in_surv_rate_group(); 1270 double yg_surv_rate = predict_yg_surv_rate(age, hr->surv_rate_group()); 1271 bytes_to_copy = (size_t) ((double) hr->used() * yg_surv_rate); 1277 G1CollectorPolicy::predict_region_elapsed_time_ms(HeapRegion* hr, argument 1279 size_t rs_length = hr 1622 add_old_region_to_cset(HeapRegion* hr) argument 1686 add_to_incremental_cset_info(HeapRegion* hr, size_t rs_length) argument 1713 update_incremental_cset_info(HeapRegion* hr, size_t new_rs_length) argument 1742 add_region_to_incremental_cset_common(HeapRegion* hr) argument 1768 add_region_to_incremental_cset_rhs(HeapRegion* hr) argument 1786 add_region_to_incremental_cset_lhs(HeapRegion* hr) argument 1944 HeapRegion* hr = young_list->first_survivor_region(); local 1986 HeapRegion* hr = cset_chooser->peek(); local [all...] |
H A D | g1CollectorPolicy.hpp | 301 void set_region_eden(HeapRegion* hr, int young_index_in_cset) { argument 302 hr->set_young(); 303 hr->install_surv_rate_group(_short_lived_surv_rate_group); 304 hr->set_young_index_in_cset(young_index_in_cset); 307 void set_region_survivor(HeapRegion* hr, int young_index_in_cset) { argument 308 assert(hr->is_young() && hr->is_survivor(), "pre-condition"); 309 hr->install_surv_rate_group(_survivor_surv_rate_group); 310 hr->set_young_index_in_cset(young_index_in_cset); 417 size_t predict_bytes_to_copy(HeapRegion* hr); [all...] |
H A D | heapRegionRemSet.cpp | 65 PerRegionTable(HeapRegion* hr) : argument 66 _hr(hr), 97 HeapRegion* loc_hr = hr(); 118 HeapRegion* hr() const { return _hr; } function in class:PerRegionTable 126 void init(HeapRegion* hr, bool clear_links_to_all_list) { argument 131 _hr = hr; 146 HeapWord* hr_bot = hr()->bottom(); 171 // Requires "from" to be in "hr()". 173 assert(hr()->is_in_reserved(from), "Precondition."); 174 size_t card_ind = pointer_delta(from, hr() 198 alloc(HeapRegion* hr) argument 259 OtherRegionsTable(HeapRegion* hr) argument 780 del_single_region_table(size_t ind, HeapRegion* hr) argument 808 HeapRegion* hr = _g1h->heap_region_containing_raw(from); local 846 HeapRegionRemSet(G1BlockOffsetSharedArray* bosa, HeapRegion* hr) argument 1071 record(HeapRegion* hr, OopOrNarrowOopStar f) argument [all...] |
H A D | g1CardCounts.cpp | 167 void G1CardCounts::clear_region(HeapRegion* hr) { argument 168 assert(!hr->isHumongous(), "Should have been cleared"); 170 HeapWord* bottom = hr->bottom(); 172 // We use the last address in hr as hr could be the 174 // the card for hr->end() will be an OOB accesss to the 176 HeapWord* last = hr->end() - 1; 190 assert(start_addr == hr->bottom(), "alignment"); 192 assert((last_addr + CardTableModRefBS::card_size_in_words) == hr->end(), "alignment");
|
H A D | g1CollectedHeap.inline.hpp | 40 HeapRegion* hr = _hrs.addr_to_region((HeapWord*) addr); local 41 // hr can be null if addr in perm_gen 42 if (hr != NULL && hr->continuesHumongous()) { 43 hr = hr->humongous_start_region(); 45 return hr;
|
H A D | g1CollectedHeap.hpp | 107 void push_region(HeapRegion* hr); 108 void add_survivor_region(HeapRegion* hr); 852 void free_region(HeapRegion* hr, 864 void free_humongous_region(HeapRegion* hr, 1163 void reset_gc_time_stamps(HeapRegion* hr); 1228 void verify_not_dirty_region(HeapRegion* hr) PRODUCT_RETURN; 1229 void verify_dirty_region(HeapRegion* hr) PRODUCT_RETURN; 1250 bool is_on_master_free_list(HeapRegion* hr) { 1251 return hr->containing_set() == &_free_list; 1254 bool is_in_humongous_set(HeapRegion* hr) { [all...] |
H A D | g1CollectedHeap.cpp | 190 void YoungList::push_region(HeapRegion *hr) { argument 191 assert(!hr->is_young(), "should not already be young"); 192 assert(hr->get_next_young_region() == NULL, "cause it should!"); 194 hr->set_next_young_region(_head); 195 _head = hr; 197 _g1h->g1_policy()->set_region_eden(hr, (int) _length); 201 void YoungList::add_survivor_region(HeapRegion* hr) { argument 202 assert(hr->is_survivor(), "should be flagged as survivor region"); 203 assert(hr->get_next_young_region() == NULL, "cause it should!"); 205 hr 389 push_dirty_cards_region(HeapRegion* hr) argument 423 HeapRegion* hr; local 459 HeapRegion* hr = heap_region_containing(p); local 469 HeapRegion* hr = heap_region_containing(p); local 632 HeapRegion* hr = new_region(word_size, false /* do_expand */); local 654 HeapRegion* hr = region_at(i); local 724 HeapRegion* hr = NULL; local 1224 doHeapRegion(HeapRegion* hr) argument 2312 reset_gc_time_stamps(HeapRegion* hr) argument 2336 doHeapRegion(HeapRegion* hr) argument 2383 HeapRegion* hr = _mutator_alloc_region.get(); local 2648 HeapRegion* hr = heap_region_containing_raw(p); local 2897 doHeapRegion(HeapRegion* hr) argument 3094 HeapRegion* hr = _mutator_alloc_region.get(); local 3119 allocated_since_marking(oop obj, HeapRegion* hr, VerifyOption vo) argument 3134 top_at_mark_start(HeapRegion* hr, VerifyOption vo) argument 3191 VerifyObjsInRegionClosure(HeapRegion *hr, VerifyOption vo) argument 3224 PrintObjsInRegionClosure(HeapRegion *hr) argument 3723 doHeapRegion(HeapRegion* hr) argument 3985 HeapRegion* hr = g1_policy()->collection_set(); local 4609 HeapRegion* hr = _g1->heap_region_containing(obj); local 5814 free_region_if_empty(HeapRegion* hr, size_t* pre_used, FreeRegionList* free_list, OldRegionSet* old_proxy_set, HumongousRegionSet* humongous_proxy_set, HRRSCleanupTask* hrrs_cleanup_task, bool par) argument 5834 free_region(HeapRegion* hr, size_t* pre_used, FreeRegionList* free_list, bool par) argument 5853 free_humongous_region(HeapRegion* hr, size_t* pre_used, FreeRegionList* free_list, HumongousRegionSet* humongous_proxy_set, bool par) argument 5956 verify_not_dirty_region(HeapRegion* hr) argument 5963 verify_dirty_region(HeapRegion* hr) argument 6207 set_region_short_lived_locked(HeapRegion* hr) argument 6348 HeapRegion* hr = heap_region_containing(p); local 6502 doHeapRegion(HeapRegion* hr) argument [all...] |
H A D | heapRegionRemSet.hpp | 106 // for "hr". If this list contains an entry for "hr", return it, 108 PerRegionTable* find_region_table(size_t ind, HeapRegion* hr) const; 115 // If a PRT for "hr" is in the bucket list indicated by "ind" (which must 116 // be the correct index for "hr"), delete it and return true; else return 118 bool del_single_region_table(size_t ind, HeapRegion* hr); 131 OtherRegionsTable(HeapRegion* hr); 133 HeapRegion* hr() const { return _hr; } function in class:VALUE_OBJ_CLASS_SPEC 217 HeapRegion* hr); 222 HeapRegion* hr() cons function in class:HeapRegionRemSet [all...] |
H A D | g1HotCardCache.hpp | 125 void reset_card_counts(HeapRegion* hr);
|
/openjdk7/jdk/src/share/sample/vm/jvm-clr/ |
H A D | invoker.cpp | 70 HRESULT hr = CorBindToRuntimeEx(NULL,NULL,0,CLSID_CorRuntimeHost,IID_ICorRuntimeHost,(VOID**)&pHost); local 72 if(!FAILED(hr)) { 76 hr = pHost->Start(); 77 if(!FAILED(hr)) { 81 hr = pHost->GetDefaultDomain(&pAppDomainThunk); 82 if(!FAILED(hr)) { 84 hr = pAppDomainThunk->QueryInterface(__uuidof(_AppDomain), (void**)&pAppDomain); 85 if(!FAILED(hr)) { 89 hr = pAppDomain->ExecuteAssembly_2(_bstr_t(wszApplication), &lReturn); 90 if (FAILED(hr)) { [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | ShellFolder2.cpp | 237 HRESULT hr = ::CoInitialize(NULL); local 238 if (FAILED(hr)) { 240 sprintf(c, "Could not initialize COM: HRESULT=0x%08X", hr); 620 HRESULT hr = pParent->BindToObject(pidl, NULL, IID_IShellFolder, (void**)&pFolder); local 621 if (SUCCEEDED (hr)) { 1066 HRESULT hr; local 1084 hr = pIShellFolder->QueryInterface(IID_IShellFolder2, (void**)&pIUnknown); 1085 if(SUCCEEDED (hr)) { 1092 hr = S_OK; 1094 hr 1183 HRESULT hr; local 1234 HRESULT hr = pParentIShellFolder->CompareIDs( local [all...] |
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | DerInputBuffer.java | 398 int hr, min; 402 hr = 10 * Character.digit((char)buf[pos++], 10); 403 hr += Character.digit((char)buf[pos++], 10); 407 if (hr >= 24 || min >= 60) 410 time -= ((hr * 60) + min) * 60 * 1000; 414 hr = 10 * Character.digit((char)buf[pos++], 10); 415 hr += Character.digit((char)buf[pos++], 10); 419 if (hr >= 24 || min >= 60) 422 time += ((hr * 60) + min) * 60 * 1000;
|