/openjdk7/hotspot/src/share/vm/code/ |
H A D | icBuffer.hpp | 58 static int code_size_to_size(int code_size) { return round_to(sizeof(ICStub), CodeEntryAlignment) + code_size; } 65 address code_begin() const { return (address)this + round_to(sizeof(ICStub), CodeEntryAlignment); } 87 ICStub* stub = (ICStub*) (destination_address - round_to(sizeof(ICStub), CodeEntryAlignment));
|
H A D | codeBlob.cpp | 72 size += round_to(cb->total_relocation_size(), oopSize); 75 size += round_to(cb->total_content_size(), oopSize); 76 size += round_to(cb->total_oop_size(), oopSize); 83 assert(size == round_to(size, oopSize), "unaligned size"); 84 assert(locs_size == round_to(locs_size, oopSize), "unaligned size"); 85 assert(header_size == round_to(header_size, oopSize), "unaligned size"); 119 assert(size == round_to(size, oopSize), "unaligned size"); 120 assert(header_size == round_to(header_size, oopSize), "unaligned size"); 126 _relocation_size = round_to(cb->total_relocation_size(), oopSize); 129 _data_offset = _content_offset + round_to(c [all...] |
H A D | exceptionHandlerTable.hpp | 117 int size_in_bytes() const { return round_to(_length * sizeof(HandlerTableEntry), oopSize); }
|
H A D | stubs.cpp | 67 intptr_t size = round_to(buffer_size, 2*BytesPerWord); 114 int requested_size = round_to(stub_code_size_to_size(requested_code_size), CodeEntryAlignment); 152 int committed_size = round_to(stub_code_size_to_size(committed_code_size), CodeEntryAlignment);
|
H A D | nmethod.cpp | 359 int nsize = round_to(pcs_size, oopSize); 583 + round_to(dependencies->size_in_bytes() , oopSize) 584 + round_to(handler_table->size_in_bytes(), oopSize) 585 + round_to(nul_chk_table->size_in_bytes(), oopSize) 586 + round_to(debug_info->data_size() , oopSize); 662 _scopes_data_offset = _oops_offset + round_to(code_buffer->total_oop_size(), oopSize); 744 _scopes_data_offset = _oops_offset + round_to(code_buffer->total_oop_size(), oopSize); 853 _scopes_data_offset = _oops_offset + round_to(code_buffer->total_oop_size (), oopSize); 854 _scopes_pcs_offset = _scopes_data_offset + round_to(debug_info->data_size (), oopSize); 856 _handler_table_offset = _dependencies_offset + round_to(dependencie [all...] |
H A D | vtableStubs.cpp | 56 const int real_size = round_to(code_size + sizeof(VtableStub), wordSize);
|
H A D | codeCache.cpp | 592 CodeCacheExpansionSize = round_to(CodeCacheExpansionSize, os::vm_page_size()); 593 InitialCodeCacheSize = round_to(InitialCodeCacheSize, os::vm_page_size()); 594 ReservedCodeCacheSize = round_to(ReservedCodeCacheSize, os::vm_page_size());
|
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | interpreter.hpp | 61 static int code_size_to_size(int code_size) { return round_to(sizeof(InterpreterCodelet), CodeEntryAlignment) + code_size; } 64 address code_begin() const { return (address)this + round_to(sizeof(InterpreterCodelet), CodeEntryAlignment); }
|
H A D | bytecode.hpp | 61 address aligned_addr_at (int offset) const { return (address)round_to((intptr_t)addr_at(offset), jintSize); }
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | icache.cpp | 99 call_flush_stub(start, round_to(nbytes, ICache::line_size) >>
|
H A D | virtualspace.cpp | 597 _lower_high_boundary = (char*) round_to((intptr_t) low_boundary(), middle_alignment()); 703 (char*) round_to((intptr_t) unaligned_lower_new_high, lower_alignment()); 705 (char*) round_to((intptr_t) unaligned_middle_new_high, middle_alignment()); 707 (char*) round_to((intptr_t) unaligned_upper_new_high, upper_alignment()); 831 (char*) round_to((intptr_t) unaligned_upper_new_high, upper_alignment()); 833 (char*) round_to((intptr_t) unaligned_middle_new_high, middle_alignment()); 835 (char*) round_to((intptr_t) unaligned_lower_new_high, lower_alignment());
|
H A D | stubRoutines.cpp | 175 address buffer = (address) round_to((intptr_t)&lbuffer[4], BytesPerLong); 176 address buffer2 = (address) round_to((intptr_t)&lbuffer2[4], BytesPerLong);
|
/openjdk7/hotspot/src/share/vm/c1/ |
H A D | c1_FrameMap.cpp | 206 _framesize = round_to(in_bytes(sp_offset_for_monitor_base(0)) + 289 int offset = round_to(first_available_sp_in_frame + _reserved_argument_area_size, sizeof(double)) + 295 int end_of_spills = round_to(first_available_sp_in_frame + _reserved_argument_area_size, sizeof(double)) + 297 int offset = (int) round_to(end_of_spills, HeapWordSize) + index * sizeof(BasicObjectLock);
|
/openjdk7/hotspot/src/cpu/sparc/vm/ |
H A D | frame_sparc.inline.hpp | 138 return round_to(BasicObjectLock::size(), WordsPerLong); 199 int rounded_vm_local_words = round_to(frame::interpreter_frame_vm_local_words, WordsPerLong); 213 return round_to(BasicObjectLock::size(), WordsPerLong);
|
H A D | templateInterpreter_sparc.cpp | 500 int rounded_vm_local_words = round_to( frame::interpreter_frame_vm_local_words, WordsPerLong ); 526 __ round_to( Gframe_size, WordsPerLong ); 535 __ round_to( Glocals_size, WordsPerLong ); 543 __ round_to( Gframe_size, WordsPerLong ); 1544 round_to(frame::interpreter_frame_vm_local_words,WordsPerLong); 1547 round_to(callee_extra_locals * Interpreter::stackElementWords, WordsPerLong); 1549 return (round_to((max_stack_words 1561 int call_stub_size = round_to(7 + frame::memory_parameter_word_sp_offset, 1597 int rounded_vm_local_words = round_to(frame::interpreter_frame_vm_local_words,WordsPerLong); 1599 assert(monitor_size == round_to(monitor_siz [all...] |
H A D | sharedRuntime_sparc.cpp | 77 // can't use round_to because it doesn't produce compile time constant 119 int frame_size = round_to(additional_frame_words + register_save_size, 16); 424 slot = round_to(slot, 2); // align 434 slot = round_to(slot, 2); // align 451 if (round_to(flt_reg, 2) + 1 < flt_reg_max) { 452 flt_reg = round_to(flt_reg, 2); // align 457 slot = round_to(slot, 2); // align 683 const int extraspace = round_to(arg_size + varargs_area, 2*wordSize); 907 int comp_words_on_stack = round_to(comp_args_on_stack*VMRegImpl::stack_slot_size, wordSize)>>LogBytesPerWord; 909 comp_words_on_stack = round_to(comp_words_on_stac [all...] |
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | mutableNUMASpace.cpp | 111 HeapWord *crossing_start = (HeapWord*)round_to(cur_top, os::vm_page_size()); 112 HeapWord *crossing_end = (HeapWord*)round_to(cur_top + touched_words, os::vm_page_size()); 117 HeapWord *end = MIN2((HeapWord*)round_to(cur_top + touched_words, page_size()), s->end()); 282 HeapWord *start = (HeapWord*)round_to((intptr_t)mr.start(), page_size()); 301 HeapWord *start = (HeapWord*)round_to((intptr_t)mr.start(), page_size()); 470 HeapWord* p = (HeapWord*)round_to((intptr_t) intersection.start(), alignment()); 535 p = (HeapWord*)round_to((intptr_t) end, alignment()); 566 HeapWord* rounded_bottom = (HeapWord*)round_to((intptr_t) bottom(), page_size()); 574 rounded_bottom = (HeapWord*)round_to((intptr_t) bottom(), page_size()); 905 char *start = (char*)round_to((intptr_ [all...] |
H A D | mutableSpace.cpp | 48 HeapWord *start = (HeapWord*)round_to((intptr_t) mr.start(), page_size);
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | copy.hpp | 206 size_t count = (size_t)round_to(byte_count, HeapWordSize) >> LogHeapWordSize; 220 size_t count = (size_t)round_to(byte_count, HeapWordSize) >> LogHeapWordSize; 318 if ((size_t)round_to(byte_count, unit_size) != byte_count) {
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | ptrQueue.hpp | 163 static const size_t alignment = round_to(sizeof(BufferNode), sizeof(void*));
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | parallelScavengeHeap.hpp | 297 var = round_to(val, intra_heap_alignment());
|
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/ |
H A D | concurrentMarkSweepGeneration.inline.hpp | 505 MemRegion mr2(mr.start(), (HeapWord*)round_to((intptr_t)mr.end(), 514 MemRegion mr2(mr.start(), (HeapWord*)round_to((intptr_t)mr.end(),
|
H A D | concurrentMarkSweepGeneration.cpp | 1115 (HeapWord*)round_to((intptr_t)(start + obj_size), 5360 HeapWord* end_addr = (HeapWord*)round_to((intptr_t)span.end(), 5363 assert((HeapWord*)round_to((intptr_t)start_addr, alignment) == 5365 assert((size_t)round_to((intptr_t)chunk_size, alignment) == 5709 HeapWord* ub = (HeapWord*)round_to((intptr_t)ur.end(), alignment); 5724 HeapWord* ub = (HeapWord*)round_to((intptr_t)ur.end(), alignment); 6491 HeapWord* next_card = (HeapWord*)round_to((uintptr_t)next_block, 6594 assert(mr.end() == (HeapWord*)round_to((intptr_t)mr.end(), 7168 _threshold = (HeapWord*)round_to( 7196 HeapWord* end_card_addr = (HeapWord*)round_to( [all...] |
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | methodComparator.cpp | 331 address aligned_bcp_old = (address) round_to((intptr_t)_s_old->bcp() + 1, jintSize); 332 address aligned_bcp_new = (address) round_to((intptr_t)_s_new->bcp() + 1, jintSize);
|
/openjdk7/hotspot/src/share/vm/gc_interface/ |
H A D | collectedHeap.cpp | 198 size_t result = round_to(total, size);
|