Searched refs:alignment (Results 26 - 50 of 109) sorted by relevance

12345

/openjdk7/hotspot/src/os/posix/vm/
H A Dos_posix.cpp98 // rather than unmapping and remapping the whole chunk to get requested alignment.
99 char* os::reserve_memory_aligned(size_t size, size_t alignment) { argument
100 assert((alignment & (os::vm_allocation_granularity() - 1)) == 0,
102 assert((size & (alignment -1)) == 0, "size must be 'alignment' aligned");
104 size_t extra_size = size + alignment;
105 assert(extra_size >= size, "overflow, size is too large to allow alignment");
107 char* extra_base = os::reserve_memory(extra_size, NULL, alignment);
113 // Do manual alignment
114 char* aligned_base = (char*) align_size_up((uintptr_t) extra_base, alignment);
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DSlotLayout.java47 private HorizontalAlignment alignment; field in class:SlotLayout
54 public SlotLayout(HorizontalAlignment alignment, boolean vertical) { argument
55 this.alignment = alignment;
84 switch (alignment) {
121 switch (alignment) {
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DadjoiningGenerations.hpp67 size_t alignment);
H A DasPSYoungGen.cpp58 size_t alignment) {
60 _virtual_space = new PSVirtualSpaceHighToLow(rs, alignment);
67 void ASPSYoungGen::initialize(ReservedSpace rs, size_t alignment) { argument
68 initialize_virtual_space(rs, alignment);
135 const size_t alignment = heap->intra_heap_alignment(); local
143 if (eden_space()->is_empty() && eden_capacity > alignment) {
144 available += eden_capacity - alignment;
157 const size_t alignment = virtual_space()->alignment(); local
173 align_size_up(eden_size + 2 * survivor_size, alignment);
57 initialize_virtual_space(ReservedSpace rs, size_t alignment) argument
[all...]
H A DpsVirtualspace.cpp44 PSVirtualSpace::PSVirtualSpace(ReservedSpace rs, size_t alignment) : argument
45 _alignment(alignment)
105 os::commit_memory(base_addr, bytes, alignment(), !ExecMem);
158 os::commit_memory(commit_base, tmp_bytes, alignment(), !ExecMem)) {
199 return is_aligned(value, alignment());
207 assert(is_aligned(alignment(), os::vm_page_size()), "bad alignment");
229 gclog_or_tty->print_cr("virtual space [" PTR_FORMAT "]: alignment="
231 this, alignment() / K, grows_up() ? "up" : "down",
250 size_t alignment)
249 PSVirtualSpaceHighToLow(ReservedSpace rs, size_t alignment) argument
[all...]
H A DpsYoungGen.cpp44 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 DpsOldGen.hpp103 PSOldGen(ReservedSpace rs, size_t alignment,
110 void initialize(ReservedSpace rs, size_t alignment,
112 void initialize_virtual_space(ReservedSpace rs, size_t alignment);
H A DpsYoungGen.hpp100 virtual void initialize(ReservedSpace rs, size_t alignment);
101 virtual void initialize_virtual_space(ReservedSpace rs, size_t alignment);
H A DpsAdaptiveSizePolicy.hpp95 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;
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXLabelPeer.java39 int alignment; field in class:XLabelPeer
59 alignment = target.getAlignment();
108 switch (alignment) {
147 alignment = align;
/openjdk7/jdk/src/macosx/native/jobjc/src/core/native/
H A DFFIType.m36 type->size = type->alignment = 0;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/
H A DHeapSummary.java136 System.out.println(alignment + (double)oldGen.used() * 100.0 / oldGen.capacity() + "% used");
144 System.out.println(alignment + (double)permGen.used() * 100.0 / permGen.capacity() + "% used");
210 System.out.println(alignment + (double)space.used() * 100.0 / space.capacity() + "% used");
213 private static String alignment = " "; field in class:HeapSummary
219 System.out.println(alignment + (double)gen.used() * 100.0 / gen.capacity() + "% used");
226 System.out.println(alignment + (double)space.used() * 100.0 / space.capacity() + "% used");
238 System.out.println(alignment + occPerc + "% used");
244 System.out.println(alignment + title + (value >>> 20) + " MB");
247 System.out.println(alignment + title + value + " (" + mb + "MB)");
252 System.out.println(alignment
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/parNew/
H A DasParNewGeneration.cpp121 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/code/
H A Dvmreg.hpp225 // Return true if single stack based "register" where the slot alignment matches input alignment
226 bool is_adjacent_on_stack(int alignment) const {
227 return (_first->is_stack() && (_first->value() + 1 == _second->value()) && ((_first->value() & (alignment-1)) == 0));
230 // Return true if single stack based "register" where the slot alignment matches input alignment
231 bool is_adjacent_aligned_on_stack(int alignment) const {
232 return (_first->is_stack() && (_first->value() + 1 == _second->value()) && ((_first->value() & (alignment-1)) == 0));
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTextField.java86 * 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...]
/openjdk7/hotspot/src/share/vm/memory/
H A Dfilemap.hpp105 void populate_header(size_t alignment);
109 size_t alignment() { return _header._alignment; } function in class:FileMapInfo
H A Dallocation.inline.hpp127 int alignment = os::vm_allocation_granularity();
128 _size = align_size_up(_size, alignment);
130 _addr = os::reserve_memory(_size, NULL, alignment, F);
H A Dheap.cpp76 const size_t alignment = (size_t)os::vm_page_size();
77 assert(is_power_of_2(alignment), "no kidding ???");
78 return (size + alignment - 1) & ~(alignment - 1);
83 const size_t alignment = (size_t)os::vm_allocation_granularity();
84 assert(is_power_of_2(alignment), "no kidding ???");
85 return (size + alignment - 1) & ~(alignment - 1);
H A DdefNewGeneration.hpp147 size_t compute_survivor_size(size_t gen_size, size_t alignment) const {
149 return n > alignment ? align_size_down(n, alignment) : alignment;
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DShapeGraphicAttribute.java82 * @param alignment one of the alignments from this
89 int alignment,
92 super(alignment);
88 ShapeGraphicAttribute(Shape shape, int alignment, boolean stroke) argument
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Label.cpp43 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/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCodeSetConversion.java148 // 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/src/share/vm/gc_implementation/shared/
H A DmutableSpace.cpp34 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 DmutableNUMASpace.hpp93 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);
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DHRuleView.java60 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

Completed in 124 milliseconds

12345