Searched refs:alignment (Results 76 - 100 of 109) sorted by relevance

12345

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DVM.java97 /** alignment constants */
341 throw new RuntimeException("Object alignment " + minObjAlignmentInBytes + " not yet supported");
507 /** Get bytes-per-long == long/double natural alignment. */
512 /** Get minimum object alignment in bytes. */
527 /** Utility routine for getting data structure alignment correct */
528 public long alignUp(long size, long alignment) { argument
529 return (size + alignment - 1) & ~(alignment - 1);
532 /** Utility routine for getting data structure alignment correct */
533 public long alignDown(long size, long alignment) { argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsMarkSweep.cpp401 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);
/openjdk7/hotspot/src/share/vm/opto/
H A Dsuperword.cpp204 // to be used for alignment. The pre-loop trip count is modified to align
211 // Set alignment relative to "align_to_ref" for all related memory operations.
224 // alignment is set and vectors will be aligned.
249 // with a different alignment were created before.
262 int align = alignment(s1);
266 if (alignment(s2) == top_align) continue;
295 // If needed find the best memory reference for loop alignment again.
298 // the best alignment search.
318 if (alignment(m) != top_align) {
454 // compute alignment withi
[all...]
H A Dsuperword.hpp195 int _alignment; // memory alignment for a node
297 // memory alignment for a node
298 int alignment(Node* n) { return _node_info.adr_at(bb_idx(n))->_alignment; } function in class:SuperWord
427 // Information about an address for dependence checking and vector alignment
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DTableView.java584 // set the alignment
587 // set horizontal alignment
590 r.alignment = 0;
592 r.alignment = 0.5f;
594 r.alignment = 1;
596 r.alignment = 0;
599 r.alignment = 0;
1400 req.alignment = 0f;
1507 r.alignment = 0.5f;
1741 // PENDING(prinz) change to use the css alignment
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DstubRoutines.cpp162 static void test_arraycopy_func(address func, int alignment) { argument
173 // C++ does not guarantee jlong[] array alignment to 8 bytes.
182 // adjust destination alignment
183 ((arraycopy_fn)func)(buffer, buffer2 + alignment, 0);
187 // adjust source alignment
188 ((arraycopy_fn)func)(buffer + alignment, buffer2, 0);
H A Dos.hpp271 static char* reserve_memory_aligned(size_t size, size_t alignment);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DAbstractButton.java88 // Text positioning and alignment
91 /** Identifies a change in the button's vertical alignment. */
93 /** Identifies a change in the button's horizontal alignment. */
745 * Returns the vertical alignment of the text and icon.
760 * Sets the vertical alignment of the icon and text.
761 * @param alignment one of the following values:
767 * @throws IllegalArgumentException if the alignment is not one of the legal
775 * description: The vertical alignment of the icon and text.
777 public void setVerticalAlignment(int alignment) { argument
778 if (alignment
828 setHorizontalAlignment(int alignment) argument
[all...]
H A DJSlider.java938 public LabelUIResource( String text, int alignment ) {
939 super( text, alignment );
/openjdk7/hotspot/src/share/vm/memory/
H A Dfilemap.cpp88 void FileMapInfo::populate_header(size_t alignment) { argument
91 _header._alignment = alignment;
H A DgenCollectedHeap.hpp132 char* allocate(size_t alignment, PermanentGenerationSpec* perm_gen_spec,
H A DcompactingPermGenGen.cpp247 size_t image_alignment = mapinfo->alignment();
253 // check the alignment constraints
H A Duniverse.cpp287 void Universe::check_alignment(uintx size, uintx alignment, const char* name) { argument
288 if (size < alignment || size % alignment != 0) {
291 st.print("Size of %s (%ld bytes) must be aligned to %ld bytes", name, size, alignment);
1447 // require address alignment, too:
H A Duniverse.hpp399 static void check_alignment(uintx size, uintx alignment, const char* name);
/openjdk7/hotspot/src/share/vm/asm/
H A DcodeBuffer.hpp215 // alignment requirement for starting offset
219 int alignment() const { return MAX2((int)sizeof(jdouble), (int)CodeEntryAlignment); } function in class:VALUE_OBJ_CLASS_SPEC
224 csize_t align_at_start(csize_t off) const { return (csize_t) align_size_up(off, alignment()); }
286 // and relocations) of the sections are padded to an alignment and concatenated.
H A DcodeBuffer.cpp89 // Compute maximal alignment.
90 int align = _insts.alignment();
152 int align = cs->alignment();
195 int align = _insts.alignment();
420 /// We iterate over all the sections, padding each to alignment.
441 assert( (dest->_total_start - _insts.start()) % alignSize == 0, "copy must preserve alignment");
857 guarantee((intptr_t)sect->start() % sect->alignment() == 0
/openjdk7/jdk/src/share/classes/sun/swing/
H A DFilePane.java1076 Integer alignment = columnInfo.getAlignment();
1077 if (alignment == null) {
1078 alignment = (value instanceof Number)
1083 setHorizontalAlignment(alignment);
1263 Integer alignment = columnInfo.getAlignment();
1264 if (alignment == null) {
1265 alignment = SwingConstants.CENTER;
1268 ((JLabel) c).setHorizontalAlignment(alignment);
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLayout.java2670 byte alignment = (byte) graphic.getAlignment();
2672 if (alignment == GraphicAttribute.BOTTOM_ALIGNMENT ||
2673 alignment == GraphicAttribute.TOP_ALIGNMENT) {
2678 return alignment;
/openjdk7/jdk/src/windows/native/sun/java2d/opengl/
H A DWGLSurfaceData.c617 j2d_glPixelStorei(GL_PACK_ALIGNMENT, pf.alignment);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicSpinnerUI.java416 // if editor alignment isn't set in LAF, we get 0 (CENTER) here
417 int alignment = UIManager.getInt("Spinner.editorAlignment");
419 text.setHorizontalAlignment(alignment);
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLBlitLoops.c638 j2d_glPixelStorei(GL_UNPACK_ALIGNMENT, pf.alignment);
759 j2d_glPixelStorei(GL_PACK_ALIGNMENT, pf.alignment);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DFlowView.java239 r.alignment = 0.5f;
H A DTableView.java379 r.alignment = 0;
/openjdk7/hotspot/src/share/vm/adlc/
H A Dformssel.hpp269 uint alignment() { return _alignment; } function in class:InstructForm
/openjdk7/hotspot/src/os/windows/vm/
H A Dos_windows.cpp2980 // virtual space to get requested alignment, like posix-like os's.
2982 char* os::reserve_memory_aligned(size_t size, size_t alignment) { argument
2983 assert((alignment & (os::vm_allocation_granularity() - 1)) == 0,
2985 assert((size & (alignment -1)) == 0, "size must be 'alignment' aligned");
2987 size_t extra_size = size + alignment;
2988 assert(extra_size >= size, "overflow, size is too large to allow alignment");
2993 char* extra_base = os::reserve_memory(extra_size, NULL, alignment);
2997 // Do manual alignment
2998 aligned_base = (char*) align_size_up((uintptr_t) extra_base, alignment);
[all...]

Completed in 174 milliseconds

12345