equal
deleted
inserted
replaced
65 # include "vmreg_sparc.inline.hpp" |
65 # include "vmreg_sparc.inline.hpp" |
66 #endif |
66 #endif |
67 #ifdef TARGET_ARCH_zero |
67 #ifdef TARGET_ARCH_zero |
68 # include "nativeInst_zero.hpp" |
68 # include "nativeInst_zero.hpp" |
69 # include "vmreg_zero.inline.hpp" |
69 # include "vmreg_zero.inline.hpp" |
|
70 #endif |
|
71 #ifdef TARGET_ARCH_arm |
|
72 # include "nativeInst_arm.hpp" |
|
73 # include "vmreg_arm.inline.hpp" |
|
74 #endif |
|
75 #ifdef TARGET_ARCH_ppc |
|
76 # include "nativeInst_ppc.hpp" |
|
77 # include "vmreg_ppc.inline.hpp" |
70 #endif |
78 #endif |
71 #ifdef COMPILER1 |
79 #ifdef COMPILER1 |
72 #include "c1/c1_Runtime1.hpp" |
80 #include "c1/c1_Runtime1.hpp" |
73 #endif |
81 #endif |
74 |
82 |
2616 typeArrayOop jlsValue = java_lang_String::value(src); |
2624 typeArrayOop jlsValue = java_lang_String::value(src); |
2617 int jlsOffset = java_lang_String::offset(src); |
2625 int jlsOffset = java_lang_String::offset(src); |
2618 int jlsLen = java_lang_String::length(src); |
2626 int jlsLen = java_lang_String::length(src); |
2619 jchar* jlsPos = (jlsLen == 0) ? NULL : |
2627 jchar* jlsPos = (jlsLen == 0) ? NULL : |
2620 jlsValue->char_at_addr(jlsOffset); |
2628 jlsValue->char_at_addr(jlsOffset); |
|
2629 assert(typeArrayKlass::cast(jlsValue->klass())->element_type() == T_CHAR, "compressed string"); |
2621 (void) UNICODE::as_utf8(jlsPos, jlsLen, (char *)dst, max_dtrace_string_size); |
2630 (void) UNICODE::as_utf8(jlsPos, jlsLen, (char *)dst, max_dtrace_string_size); |
2622 } |
2631 } |
2623 #endif // ndef HAVE_DTRACE_H |
2632 #endif // ndef HAVE_DTRACE_H |
2624 |
2633 |
2625 // ------------------------------------------------------------------------- |
2634 // ------------------------------------------------------------------------- |