src/share/vm/code/stubs.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/code/stubs.cpp

src/share/vm/code/stubs.cpp

Print this page
rev 12400 : 8168503: JEP 297: Unified arm32/arm64 Port
Reviewed-by: kvn, enevill, ihse, dholmes, erik, coleenp, cjplummer

*** 1,7 **** /* ! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 260,277 **** for (Stub* s = first(); s != NULL; s = next(s)) { stub_print(s); } } - // Fixup for pregenerated code - void StubQueue::fix_buffer(address buffer, address queue_end, address buffer_end, int number_of_stubs) { - const int extra_bytes = CodeEntryAlignment; - _stub_buffer = buffer; - _queue_begin = 0; - _queue_end = queue_end - buffer; - _number_of_stubs = number_of_stubs; - int size = buffer_end - buffer; - // Note: _buffer_limit must differ from _queue_end in the iteration loops - // => add extra space at the end (preserving alignment for asserts) if needed - if (buffer_end == queue_end) size += extra_bytes; - _buffer_limit = _buffer_size = size; - } --- 260,264 ----
src/share/vm/code/stubs.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File