/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | mutableSpace.hpp | 78 size_t alignment() { return _alignment; } function in class:MutableSpace
|
H A D | mutableNUMASpace.hpp | 93 LGRPSpace(int l, size_t alignment) : _lgrp_id(l), _last_page_scanned(NULL), _allocation_failed(false) { argument 94 _space = new MutableSpace(alignment); 194 MutableNUMASpace(size_t alignment);
|
H A D | mutableSpace.cpp | 34 MutableSpace::MutableSpace(size_t alignment): ImmutableSpace(), _top(NULL), _alignment(alignment) { argument 35 assert(MutableSpace::alignment() >= 0 && 36 MutableSpace::alignment() % os::vm_page_size() == 0, 47 size_t page_size = UseLargePages ? alignment() : os::vm_page_size(); 184 "checking alignment"); 205 "checking alignment");
|
H A D | mutableNUMASpace.cpp | 45 MutableNUMASpace::MutableNUMASpace(size_t alignment) : MutableSpace(alignment) { argument 247 lgrp_spaces()->append(new LGRPSpace(lgrp_ids[i], alignment())); 287 (intptr_t)aligned_region.byte_size() % page_size() == 0, "Bad alignment"); 306 (intptr_t)aligned_region.byte_size() % page_size() == 0, "Bad alignment"); 469 if (UseLargePages && page_size() >= alignment()) { 470 HeapWord* p = (HeapWord*)round_to((intptr_t) intersection.start(), alignment()); 472 && pointer_delta(p, new_region.start(), sizeof(char)) >= alignment()) { 488 if (UseLargePages && page_size() >= alignment()) { 489 HeapWord* p = (HeapWord*)round_down((intptr_t) intersection.end(), alignment()); [all...] |
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | generationSpec.hpp | 59 void align(size_t alignment) { argument 60 set_init_size(align_size_up(init_size(), alignment)); 61 set_max_size(align_size_up(max_size(), alignment)); 121 void align(size_t alignment);
|
H A D | collectorPolicy.cpp | 87 assert(PermSize % min_alignment() == 0, "permanent space alignment"); 88 assert(MaxPermSize % max_alignment() == 0, "maximum permanent space alignment"); 89 assert(SharedReadOnlySize % max_alignment() == 0, "read-only space alignment"); 90 assert(SharedReadWriteSize % max_alignment() == 0, "read-write space alignment"); 91 assert(SharedMiscDataSize % max_alignment() == 0, "misc-data space alignment"); 198 size_t alignment = min_alignment(); local 199 size_t max_minus = maximum_size - alignment; 221 size_t alignment = GenRemSet::max_alignment_constraint(rem_set_name()); local 223 // Parallel GC does its own alignment of the generations to avoid requiring a 225 // other collectors should also be updated to do their own alignment an [all...] |
H A D | filemap.cpp | 88 void FileMapInfo::populate_header(size_t alignment) { argument 91 _header._alignment = alignment;
|
H A D | filemap.hpp | 105 void populate_header(size_t alignment); 109 size_t alignment() { return _header._alignment; } function in class:FileMapInfo
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CodeSetConversion.java | 148 // Proper alignment for this type of converter. For instance, 149 // ASCII has alignment of 1 (1 byte per char) but UTF16 has 150 // alignment of 2 (2 bytes per char) 151 private int alignment; field in class:CodeSetConversion.JavaCTBConverter 194 alignment = alignmentForEncoding; 232 return alignment; 508 int alignment = (!codeset.isFixedWidth() ? 512 return new JavaCTBConverter(codeset, alignment); 556 int alignment = (!codeset.isFixedWidth() ? 560 return new JavaCTBConverter(codeset, alignment); [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/ |
H A D | DebuggerUtilities.java | 55 public void checkAlignment(long address, long alignment) { argument 56 if (address % alignment != 0) { 59 " with alignment: " + alignment,
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | HRuleView.java | 60 alignment = StyleConstants.ALIGN_CENTER; 67 // use ALIGN_CENTER by default, so we check if the alignment 70 alignment = StyleConstants.getAlignment(attr); 129 switch (alignment) { 311 private int alignment = StyleConstants.ALIGN_CENTER; field in class:HRuleView
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parNew/ |
H A D | asParNewGeneration.cpp | 121 const size_t alignment = os::vm_page_size(); 122 if (to()->capacity() < alignment) { 125 return to()->capacity() - alignment; 145 // Note that the the alignment used is the OS page size as 146 // opposed to an alignment associated with the virtual space 150 const size_t alignment = os::vm_page_size(); local 165 align_size_up(eden_size + 2 * survivor_size, alignment); 173 assert(change % alignment == 0, "just checking"); 180 assert(desired_change % alignment == 0, "just checking"); 300 const size_t alignment local 611 const size_t alignment = os::vm_page_size(); local [all...] |
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | psAdaptiveSizePolicy.hpp | 95 const size_t _intra_generation_alignment; // alignment for eden, survivors 224 // alignment values and the pause & throughput goals. 371 const size_t alignment = _intra_generation_alignment; local 372 return sz > alignment ? align_size_down(sz, alignment) : alignment;
|
H A D | psYoungGen.cpp | 44 void PSYoungGen::initialize_virtual_space(ReservedSpace rs, size_t alignment) { argument 46 _virtual_space = new PSVirtualSpace(rs, alignment); 53 void PSYoungGen::initialize(ReservedSpace rs, size_t alignment) { argument 54 initialize_virtual_space(rs, alignment); 75 _eden_space = new MutableNUMASpace(virtual_space()->alignment()); 77 _eden_space = new MutableSpace(virtual_space()->alignment()); 79 _from_space = new MutableSpace(virtual_space()->alignment()); 80 _to_space = new MutableSpace(virtual_space()->alignment()); 106 size_t alignment = heap->intra_heap_alignment(); local 115 // round the survivor space size down to the nearest alignment 159 size_t alignment = heap->intra_heap_alignment(); local 210 const size_t alignment = heap->intra_heap_alignment(); local 283 const size_t alignment = virtual_space()->alignment(); local 494 const size_t alignment = heap->intra_heap_alignment(); local [all...] |
H A D | psMarkSweep.cpp | 401 assert(young_gen->virtual_space()->alignment() == 402 old_gen->virtual_space()->alignment(), "alignments do not match"); 419 const size_t alignment = old_gen->virtual_space()->alignment(); local 422 const size_t absorb_size = align_size_up(eden_used + promoted, alignment);
|
H A D | psOldGen.cpp | 40 PSOldGen::PSOldGen(ReservedSpace rs, size_t alignment, argument 46 initialize(rs, alignment, perf_data_name, level); 56 void PSOldGen::initialize(ReservedSpace rs, size_t alignment, argument 58 initialize_virtual_space(rs, alignment); 65 void PSOldGen::initialize_virtual_space(ReservedSpace rs, size_t alignment) { argument 67 _virtual_space = new PSVirtualSpace(rs, alignment); 127 _object_space = new MutableSpace(virtual_space()->alignment()); 223 const size_t alignment = virtual_space()->alignment(); local 224 size_t aligned_bytes = align_size_up(bytes, alignment); 335 const size_t alignment = virtual_space()->alignment(); local [all...] |
H A D | psAdaptiveSizePolicy.cpp | 291 // a change less than the necessary alignment is probably not worth 380 const size_t alignment = _intra_generation_alignment; local 381 desired_eden_size = align_size_up(desired_eden_size, alignment); 382 desired_eden_size = MAX2(desired_eden_size, alignment); 383 desired_promo_size = align_size_up(desired_promo_size, alignment); 384 desired_promo_size = MAX2(desired_promo_size, alignment); 386 eden_limit = align_size_down(eden_limit, alignment); 387 promo_limit = align_size_down(promo_limit, alignment); 549 // a change less than the required alignment is probably not worth 627 // a change less than the required alignment i [all...] |
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | virtualspace.hpp | 39 // The base and size prior to any alignment done by this class; used only on 49 ReservedSpace(char* base, size_t size, size_t alignment, bool special, 54 void initialize(size_t size, size_t alignment, bool large, 61 // Release virtual address space. If alignment was done, use the saved 66 // get a new region that has "compound alignment." Return the start of the 79 // Reserve memory, call align_reserved_region() to alignment it and return the 94 ReservedSpace(size_t size, size_t alignment, bool large, 101 ReservedSpace(size_t size, size_t alignment, bool large, bool executable); 106 size_t alignment() const { return _alignment; } function in class:VALUE_OBJ_CLASS_SPEC 114 ReservedSpace first_part(size_t partition_size, size_t alignment, [all...] |
H A D | virtualspace.cpp | 49 ReservedSpace::ReservedSpace(size_t size, size_t alignment, argument 53 initialize(size+noaccess_prefix, alignment, large, requested_address, 57 ReservedSpace::ReservedSpace(size_t size, size_t alignment, argument 60 initialize(size, alignment, large, NULL, 0, executable); 79 return NULL; // Cannot do proper alignment. 103 // is the only addr that can be passed to os::release_memory(). If alignment 145 assert(res >= raw, "alignment decreased start addr"); 147 "alignment increased end addr"); 148 assert((res & (prefix_align - 1)) == 0, "bad alignment of prefix"); 150 "bad alignment o 284 initialize(size_t size, size_t alignment, bool large, char* requested_address, const size_t noaccess_prefix, bool executable) argument 406 ReservedSpace(char* base, size_t size, size_t alignment, bool special, bool executable) argument 420 first_part(size_t partition_size, size_t alignment, bool split, bool realloc) argument 426 ReservedSpace result(base(), partition_size, alignment, special(), local 433 last_part(size_t partition_size, size_t alignment) argument 507 ReservedHeapSpace(size_t size, size_t alignment, bool large, char* requested_address) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Label.cpp | 43 jint alignment; member in struct:SetAlignmentStruct 147 jint alignment = env->GetIntField(target, AwtLabel::alignmentID); local 148 switch (alignment) { 267 jint alignment = sas->alignment; local 277 * alignment argument of multifont label is referred to in 322 AwtLabel::alignmentID = env->GetFieldID(cls, "alignment", "I"); 367 jint alignment) 373 sas->alignment = alignment; 366 Java_sun_awt_windows_WLabelPeer_setAlignment(JNIEnv *env, jobject self, jint alignment) argument [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLSurfaceData.h | 58 * jint alignment; 59 * The byte alignment parameter used in glPixelStorei(GL_UNPACK_ALIGNMENT). A 61 * memory, and so on. This alignment parameter helps OpenGL speed up pixel 74 jint alignment; member in struct:__anon928
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JTextField.java | 86 * The horizontal alignment of <code>JTextField</code> can be set to be left 300 * Returns the horizontal alignment of the text. 310 * @return the horizontal alignment 317 * Sets the horizontal alignment of the text. 327 * alignment is set, 330 * @param alignment the alignment 331 * @exception IllegalArgumentException if <code>alignment</code> 336 * description: Set the field alignment to LEFT, CENTER, RIGHT, 341 public void setHorizontalAlignment(int alignment) { argument [all...] |
H A D | JLabel.java | 61 * by setting the vertical and horizontal alignment. 145 * text, image, and horizontal alignment. 169 * text and horizontal alignment. 198 * image and horizontal alignment. 673 * Returns the alignment of the label's contents along the Y axis. 690 * Sets the alignment of the label's contents along the Y axis. 694 * @param alignment One of the following constants 708 * description: The alignment of the label's contents along the Y axis. 710 public void setVerticalAlignment(int alignment) { argument 711 if (alignment 762 setHorizontalAlignment(int alignment) argument [all...] |
/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*)); local 164 return alignment;
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XScrollbar.java | 81 int alignment; field in class:XScrollbar 88 public XScrollbar(int alignment, XScrollbarClient sb) { argument 90 this.alignment = alignment; 209 if (alignment == ALIGNMENT_HORIZONTAL) { 412 int coord = (alignment == ALIGNMENT_HORIZONTAL ? x : y); 529 if (alignment == ALIGNMENT_HORIZONTAL) { 779 if (alignment == ALIGNMENT_HORIZONTAL) { 799 if (alignment == ALIGNMENT_HORIZONTAL) { 833 if (alignment [all...] |