mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
7016023: Enable building ARM and PPC from src/closed repository
Reviewed-by: dholmes, bdelsart
This commit is contained in:
parent
7b4f8073f0
commit
31e3fe4a98
101 changed files with 972 additions and 31 deletions
|
@ -68,6 +68,14 @@
|
|||
# include "nativeInst_zero.hpp"
|
||||
# include "vmreg_zero.inline.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_arm
|
||||
# include "nativeInst_arm.hpp"
|
||||
# include "vmreg_arm.inline.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_ppc
|
||||
# include "nativeInst_ppc.hpp"
|
||||
# include "vmreg_ppc.inline.hpp"
|
||||
#endif
|
||||
#ifdef COMPILER1
|
||||
#include "c1/c1_Runtime1.hpp"
|
||||
#endif
|
||||
|
@ -2618,6 +2626,7 @@ void SharedRuntime::get_utf(oopDesc* src, address dst) {
|
|||
int jlsLen = java_lang_String::length(src);
|
||||
jchar* jlsPos = (jlsLen == 0) ? NULL :
|
||||
jlsValue->char_at_addr(jlsOffset);
|
||||
assert(typeArrayKlass::cast(jlsValue->klass())->element_type() == T_CHAR, "compressed string");
|
||||
(void) UNICODE::as_utf8(jlsPos, jlsLen, (char *)dst, max_dtrace_string_size);
|
||||
}
|
||||
#endif // ndef HAVE_DTRACE_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue