/root/doris/be/src/util/jni-util.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <butil/macros.h> |
21 | | #include <jni.h> |
22 | | #include <limits.h> |
23 | | #include <stddef.h> |
24 | | #include <stdint.h> |
25 | | |
26 | | #include <string> |
27 | | |
28 | | #include "common/status.h" |
29 | | #include "jni_md.h" |
30 | | #include "util/defer_op.h" |
31 | | #include "util/thrift_util.h" |
32 | | |
33 | | #ifdef USE_HADOOP_HDFS |
34 | | // defined in hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/native/libhdfs/jni_helper.c |
35 | | extern "C" JNIEnv* getJNIEnv(void); |
36 | | #endif |
37 | | |
38 | | namespace doris { |
39 | | |
40 | | #define RETURN_ERROR_IF_EXC(env) \ |
41 | 143k | do { \ |
42 | 143k | if (env->ExceptionCheck()) [[unlikely]] \ |
43 | 4 | return Jni::Env::GetJniExceptionMsg(env); \ |
44 | 143k | } while (false) |
45 | | |
46 | | //In order to reduce the potential risks caused by not handling exceptions, |
47 | | // you need to refer to https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/functions.html |
48 | | // to confirm whether the jni method will throw an exception. |
49 | | |
50 | | namespace Jni { |
51 | | class Env { |
52 | | public: |
53 | 101k | static Status Get(JNIEnv** env) { |
54 | 101k | if (tls_env_) { |
55 | 100k | *env = tls_env_; |
56 | 100k | } else { |
57 | 176 | Status status = GetJNIEnvSlowPath(env); |
58 | 176 | if (!status.ok()) { |
59 | 0 | return status; |
60 | 0 | } |
61 | 176 | } |
62 | 101k | if (*env == nullptr) [[unlikely]] { |
63 | 0 | return Status::JniError("Failed to get JNIEnv: it is nullptr."); |
64 | 0 | } |
65 | 101k | return Status::OK(); |
66 | 101k | } |
67 | | |
68 | 7 | static Status Init() { return init_throw_exception(); } |
69 | | |
70 | | static Status GetJniExceptionMsg(JNIEnv* env, bool log_stack = true, |
71 | | const std::string& prefix = "") WARN_UNUSED_RESULT; |
72 | | |
73 | | private: |
74 | | static Status GetJNIEnvSlowPath(JNIEnv** env); |
75 | 7 | static Status init_throw_exception() { |
76 | 7 | JNIEnv* env = nullptr; |
77 | 7 | RETURN_IF_ERROR(Jni::Env::Get(&env)); |
78 | | |
79 | | // Find JniUtil class and create a global ref. |
80 | 7 | jclass local_jni_util_cl = env->FindClass("org/apache/doris/common/jni/utils/JniUtil"); |
81 | 7 | if (local_jni_util_cl == nullptr) { |
82 | 0 | if (env->ExceptionOccurred()) { |
83 | 0 | env->ExceptionDescribe(); |
84 | 0 | } |
85 | 0 | return Status::JniError("Failed to find JniUtil class."); |
86 | 0 | } |
87 | 7 | jni_util_cl_ = reinterpret_cast<jclass>(env->NewGlobalRef(local_jni_util_cl)); |
88 | 7 | env->DeleteLocalRef(local_jni_util_cl); |
89 | 7 | if (jni_util_cl_ == nullptr) { |
90 | 0 | if (env->ExceptionOccurred()) { |
91 | 0 | env->ExceptionDescribe(); |
92 | 0 | } |
93 | 0 | return Status::JniError("Failed to create global reference to JniUtil class."); |
94 | 0 | } |
95 | 7 | if (env->ExceptionOccurred()) { |
96 | 0 | return Status::JniError("Failed to delete local reference to JniUtil class."); |
97 | 0 | } |
98 | | |
99 | | // Throwable toString() |
100 | 7 | throwable_to_string_id_ = env->GetStaticMethodID( |
101 | 7 | jni_util_cl_, "throwableToString", "(Ljava/lang/Throwable;)Ljava/lang/String;"); |
102 | 7 | if (throwable_to_string_id_ == nullptr) { |
103 | 0 | if (env->ExceptionOccurred()) { |
104 | 0 | env->ExceptionDescribe(); |
105 | 0 | } |
106 | 0 | return Status::JniError("Failed to find JniUtil.throwableToString method."); |
107 | 0 | } |
108 | | |
109 | | // throwableToStackTrace() |
110 | 7 | throwable_to_stack_trace_id_ = env->GetStaticMethodID( |
111 | 7 | jni_util_cl_, "throwableToStackTrace", "(Ljava/lang/Throwable;)Ljava/lang/String;"); |
112 | 7 | if (throwable_to_stack_trace_id_ == nullptr) { |
113 | 0 | if (env->ExceptionOccurred()) { |
114 | 0 | env->ExceptionDescribe(); |
115 | 0 | } |
116 | 0 | return Status::JniError("Failed to find JniUtil.throwableToFullStackTrace method."); |
117 | 0 | } |
118 | 7 | return Status::OK(); |
119 | 7 | } |
120 | | |
121 | | private: |
122 | | // Thread-local cache of the JNIEnv for this thread. |
123 | | static __thread JNIEnv* tls_env_; |
124 | | |
125 | | //for exception |
126 | | static jclass jni_util_cl_; |
127 | | static jmethodID throwable_to_string_id_; |
128 | | static jmethodID throwable_to_stack_trace_id_; |
129 | | }; |
130 | | |
131 | | enum RefType { Local, Global }; |
132 | | |
133 | | enum BufferType { Chars, ByteArray }; |
134 | | |
135 | | template <RefType Ref> |
136 | | struct RefHelper {}; |
137 | | |
138 | | template <> |
139 | | struct RefHelper<Local> { |
140 | 1.95k | static jobject create(JNIEnv* env, jobject obj) { return env->NewLocalRef(obj); } |
141 | | |
142 | 70.8k | static void destroy(JNIEnv* env, jobject obj) { env->DeleteLocalRef(obj); } |
143 | | |
144 | 72.7k | static Status get_env(JNIEnv** env) { |
145 | | // Get the JNIEnv* corresponding to current thread. |
146 | 72.7k | return Jni::Env::Get(env); |
147 | 72.7k | } |
148 | | }; |
149 | | |
150 | | template <> |
151 | | struct RefHelper<Global> { |
152 | 11.9k | static jobject create(JNIEnv* env, jobject obj) { return env->NewGlobalRef(obj); } |
153 | | |
154 | 11.9k | static void destroy(JNIEnv* env, jobject obj) { env->DeleteGlobalRef(obj); } |
155 | | |
156 | 11.9k | static Status get_env(JNIEnv** env) { return Jni::Env::Get(env); } |
157 | | }; |
158 | | |
159 | | template <RefType Ref> |
160 | | class Object; |
161 | | |
162 | | template <RefType Ref> |
163 | | class Class; |
164 | | |
165 | | class MethodId { |
166 | | public: |
167 | 20.3k | MethodId() = default; |
168 | 74.3k | bool uninitialized() const { return _id == nullptr; } |
169 | | |
170 | | template <RefType U> |
171 | | friend class Object; |
172 | | |
173 | | template <RefType U> |
174 | | friend class Class; |
175 | | |
176 | | private: |
177 | | jmethodID _id = nullptr; |
178 | | }; |
179 | | |
180 | | class FieldId { |
181 | | public: |
182 | 36 | FieldId() = default; |
183 | 72 | bool uninitialized() const { return _id == nullptr; } |
184 | | |
185 | | template <RefType U> |
186 | | friend class Object; |
187 | | |
188 | | template <RefType U> |
189 | | friend class Class; |
190 | | |
191 | | private: |
192 | | jfieldID _id = nullptr; |
193 | | }; |
194 | | |
195 | | enum CallTag { |
196 | | ObjectMethod, |
197 | | IntMethod, |
198 | | LongMethod, |
199 | | VoidMethod, |
200 | | BooleanMethod, |
201 | | |
202 | | StaticObjectMethod, |
203 | | StaticIntMethod, |
204 | | StaticLongMethod, |
205 | | StaticVoidMethod, |
206 | | |
207 | | NewObject, |
208 | | |
209 | | NonvirtualVoidMethod, |
210 | | NonvirtualObjectMethod, |
211 | | NonvirtualIntMethod, |
212 | | NonvirtualBooleanMethod, |
213 | | }; |
214 | | |
215 | | template <CallTag Tag> |
216 | | struct CallHelper {}; |
217 | | |
218 | | template <> |
219 | | struct CallHelper<ObjectMethod> { |
220 | 26.1k | static jobject call_impl(JNIEnv* env, jobject obj, jmethodID methodID, const jvalue* args) { |
221 | 26.1k | return env->CallObjectMethodA(obj, methodID, args); |
222 | 26.1k | } |
223 | | using BASE_TYPE = jobject; |
224 | | using RETURN_TYPE = jobject; |
225 | | }; |
226 | | |
227 | | template <> |
228 | | struct CallHelper<IntMethod> { |
229 | 583 | static jint call_impl(JNIEnv* env, jobject obj, jmethodID methodID, const jvalue* args) { |
230 | 583 | return env->CallIntMethodA(obj, methodID, args); |
231 | 583 | } |
232 | | using BASE_TYPE = jobject; |
233 | | using RETURN_TYPE = jint; |
234 | | }; |
235 | | |
236 | | template <> |
237 | | struct CallHelper<LongMethod> { |
238 | 9.13k | static jlong call_impl(JNIEnv* env, jobject obj, jmethodID methodID, const jvalue* args) { |
239 | 9.13k | return env->CallLongMethodA(obj, methodID, args); |
240 | 9.13k | } |
241 | | using BASE_TYPE = jobject; |
242 | | using RETURN_TYPE = jlong; |
243 | | }; |
244 | | |
245 | | template <> |
246 | | struct CallHelper<VoidMethod> { |
247 | 216 | static void call_impl(JNIEnv* env, jobject obj, jmethodID methodID, const jvalue* args) { |
248 | 216 | env->CallVoidMethodA(obj, methodID, args); |
249 | 216 | } |
250 | | using BASE_TYPE = jobject; |
251 | | using RETURN_TYPE = void; |
252 | | }; |
253 | | |
254 | | template <> |
255 | | struct CallHelper<BooleanMethod> { |
256 | 0 | static jboolean call_impl(JNIEnv* env, jobject obj, jmethodID methodID, const jvalue* args) { |
257 | 0 | return env->CallBooleanMethodA(obj, methodID, args); |
258 | 0 | } |
259 | | using BASE_TYPE = jobject; |
260 | | using RETURN_TYPE = jboolean; |
261 | | }; |
262 | | |
263 | | template <> |
264 | | struct CallHelper<StaticObjectMethod> { |
265 | 794 | static jobject call_impl(JNIEnv* env, jclass cls, jmethodID methodID, const jvalue* args) { |
266 | 794 | return env->CallStaticObjectMethodA(cls, methodID, args); |
267 | 794 | } |
268 | | using BASE_TYPE = jclass; |
269 | | using RETURN_TYPE = jobject; |
270 | | }; |
271 | | |
272 | | template <> |
273 | | struct CallHelper<StaticIntMethod> { |
274 | 0 | static jint call_impl(JNIEnv* env, jclass cls, jmethodID methodID, const jvalue* args) { |
275 | 0 | return env->CallStaticIntMethodA(cls, methodID, args); |
276 | 0 | } |
277 | | using BASE_TYPE = jclass; |
278 | | using RETURN_TYPE = jint; |
279 | | }; |
280 | | |
281 | | template <> |
282 | | struct CallHelper<StaticLongMethod> { |
283 | 0 | static jlong call_impl(JNIEnv* env, jclass cls, jmethodID methodID, const jvalue* args) { |
284 | 0 | return env->CallStaticLongMethodA(cls, methodID, args); |
285 | 0 | } |
286 | | using BASE_TYPE = jclass; |
287 | | using RETURN_TYPE = jlong; |
288 | | }; |
289 | | |
290 | | template <> |
291 | | struct CallHelper<StaticVoidMethod> { |
292 | 0 | static void call_impl(JNIEnv* env, jclass cls, jmethodID methodID, const jvalue* args) { |
293 | 0 | return env->CallStaticVoidMethodA(cls, methodID, args); |
294 | 0 | } |
295 | | |
296 | | using BASE_TYPE = jclass; |
297 | | using RETURN_TYPE = void; |
298 | | }; |
299 | | |
300 | | template <> |
301 | | struct CallHelper<NewObject> { |
302 | 11.2k | static jobject call_impl(JNIEnv* env, jclass cls, jmethodID methodID, const jvalue* args) { |
303 | 11.2k | return env->NewObjectA(cls, methodID, args); |
304 | 11.2k | } |
305 | | |
306 | | using BASE_TYPE = jclass; |
307 | | using RETURN_TYPE = jobject; |
308 | | }; |
309 | | |
310 | | template <> |
311 | | struct CallHelper<NonvirtualVoidMethod> { |
312 | | static void call_impl(JNIEnv* env, jobject obj, jclass clazz, jmethodID methodID, |
313 | 6.83k | const jvalue* args) { |
314 | 6.83k | return env->CallNonvirtualVoidMethodA(obj, clazz, methodID, args); |
315 | 6.83k | } |
316 | | |
317 | | using BASE_TYPE = jobject; |
318 | | using RETURN_TYPE = void; |
319 | | }; |
320 | | |
321 | | template <> |
322 | | struct CallHelper<NonvirtualObjectMethod> { |
323 | | static jobject call_impl(JNIEnv* env, jobject obj, jclass clazz, jmethodID methodID, |
324 | 70 | const jvalue* args) { |
325 | 70 | return env->CallNonvirtualObjectMethodA(obj, clazz, methodID, args); |
326 | 70 | } |
327 | | |
328 | | using BASE_TYPE = jobject; |
329 | | using RETURN_TYPE = jobject; |
330 | | }; |
331 | | |
332 | | template <> |
333 | | struct CallHelper<NonvirtualIntMethod> { |
334 | | static jint call_impl(JNIEnv* env, jobject obj, jclass clazz, jmethodID methodID, |
335 | 8 | const jvalue* args) { |
336 | 8 | return env->CallNonvirtualIntMethodA(obj, clazz, methodID, args); |
337 | 8 | } |
338 | | |
339 | | using BASE_TYPE = jobject; |
340 | | using RETURN_TYPE = jint; |
341 | | }; |
342 | | |
343 | | template <> |
344 | | struct CallHelper<NonvirtualBooleanMethod> { |
345 | | static jboolean call_impl(JNIEnv* env, jobject obj, jclass clazz, jmethodID methodID, |
346 | 8 | const jvalue* args) { |
347 | 8 | return env->CallNonvirtualBooleanMethodA(obj, clazz, methodID, args); |
348 | 8 | } |
349 | | |
350 | | using BASE_TYPE = jobject; |
351 | | using RETURN_TYPE = jboolean; |
352 | | }; |
353 | | |
354 | | template <CallTag tag> |
355 | | class FunctionCall { |
356 | | public: |
357 | | FunctionCall(FunctionCall&& other) noexcept = default; |
358 | | |
359 | | static FunctionCall instance(JNIEnv* env, typename CallHelper<tag>::BASE_TYPE base, |
360 | 48.0k | jmethodID method_id) { |
361 | 48.0k | return FunctionCall(env, base, method_id); |
362 | 48.0k | } _ZN5doris3Jni12FunctionCallILNS0_7CallTagE9EE8instanceEP7JNIEnv_P7_jclassP10_jmethodID Line | Count | Source | 360 | 11.1k | jmethodID method_id) { | 361 | 11.1k | return FunctionCall(env, base, method_id); | 362 | 11.1k | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE3EE8instanceEP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 360 | 216 | jmethodID method_id) { | 361 | 216 | return FunctionCall(env, base, method_id); | 362 | 216 | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE5EE8instanceEP7JNIEnv_P7_jclassP10_jmethodID Line | Count | Source | 360 | 794 | jmethodID method_id) { | 361 | 794 | return FunctionCall(env, base, method_id); | 362 | 794 | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE0EE8instanceEP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 360 | 26.1k | jmethodID method_id) { | 361 | 26.1k | return FunctionCall(env, base, method_id); | 362 | 26.1k | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE2EE8instanceEP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 360 | 9.17k | jmethodID method_id) { | 361 | 9.17k | return FunctionCall(env, base, method_id); | 362 | 9.17k | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE1EE8instanceEP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 360 | 585 | jmethodID method_id) { | 361 | 585 | return FunctionCall(env, base, method_id); | 362 | 585 | } |
Unexecuted instantiation: _ZN5doris3Jni12FunctionCallILNS0_7CallTagE4EE8instanceEP7JNIEnv_P8_jobjectP10_jmethodID Unexecuted instantiation: _ZN5doris3Jni12FunctionCallILNS0_7CallTagE8EE8instanceEP7JNIEnv_P7_jclassP10_jmethodID |
363 | | |
364 | | /// Pass a primitive arg (eg an integer). |
365 | | /// Multiple arguments may be passed by repeated calls. |
366 | | template <class T> |
367 | | requires std::disjunction_v<std::is_same<T, jboolean>, std::is_same<T, jbyte>, |
368 | | std::is_same<T, jchar>, std::is_same<T, jshort>, |
369 | | std::is_same<T, jint>, std::is_same<T, jlong>, |
370 | | std::is_same<T, jfloat>, std::is_same<T, jdouble>> |
371 | 8.85k | FunctionCall& with_arg(T arg) { |
372 | 8.85k | jvalue v; |
373 | 8.85k | std::memset(&v, 0, sizeof(v)); |
374 | 8.85k | if constexpr (std::is_same_v<T, jboolean>) { |
375 | 209 | v.z = arg; |
376 | | } else if constexpr (std::is_same_v<T, jbyte>) { |
377 | | v.b = arg; |
378 | | } else if constexpr (std::is_same_v<T, jchar>) { |
379 | | v.c = arg; |
380 | | } else if constexpr (std::is_same_v<T, jshort>) { |
381 | | v.s = arg; |
382 | 8.24k | } else if constexpr (std::is_same_v<T, jint>) { |
383 | 8.24k | v.i = arg; |
384 | 8.24k | } else if constexpr (std::is_same_v<T, jlong>) { |
385 | 401 | v.j = arg; |
386 | | } else if constexpr (std::is_same_v<T, jfloat>) { |
387 | | v.f = arg; |
388 | | } else if constexpr (std::is_same_v<T, jdouble>) { |
389 | | v.d = arg; |
390 | | } else { |
391 | | static_assert(false); |
392 | | } |
393 | 8.85k | _args.push_back(v); |
394 | 8.85k | return *this; |
395 | 8.85k | } _ZN5doris3Jni12FunctionCallILNS0_7CallTagE0EE8with_argIiQsr3stdE13disjunction_vISt7is_sameITL0__hES5_IS6_aES5_IS6_tES5_IS6_sES5_IS6_iES5_IS6_lES5_IS6_fES5_IS6_dEEEERS3_T_ Line | Count | Source | 371 | 2.14k | FunctionCall& with_arg(T arg) { | 372 | 2.14k | jvalue v; | 373 | 2.14k | std::memset(&v, 0, sizeof(v)); | 374 | | if constexpr (std::is_same_v<T, jboolean>) { | 375 | | v.z = arg; | 376 | | } else if constexpr (std::is_same_v<T, jbyte>) { | 377 | | v.b = arg; | 378 | | } else if constexpr (std::is_same_v<T, jchar>) { | 379 | | v.c = arg; | 380 | | } else if constexpr (std::is_same_v<T, jshort>) { | 381 | | v.s = arg; | 382 | 2.14k | } else if constexpr (std::is_same_v<T, jint>) { | 383 | 2.14k | v.i = arg; | 384 | | } else if constexpr (std::is_same_v<T, jlong>) { | 385 | | v.j = arg; | 386 | | } else if constexpr (std::is_same_v<T, jfloat>) { | 387 | | v.f = arg; | 388 | | } else if constexpr (std::is_same_v<T, jdouble>) { | 389 | | v.d = arg; | 390 | | } else { | 391 | | static_assert(false); | 392 | | } | 393 | 2.14k | _args.push_back(v); | 394 | 2.14k | return *this; | 395 | 2.14k | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE9EE8with_argIiQsr3stdE13disjunction_vISt7is_sameITL0__hES5_IS6_aES5_IS6_tES5_IS6_sES5_IS6_iES5_IS6_lES5_IS6_fES5_IS6_dEEEERS3_T_ Line | Count | Source | 371 | 5.46k | FunctionCall& with_arg(T arg) { | 372 | 5.46k | jvalue v; | 373 | 5.46k | std::memset(&v, 0, sizeof(v)); | 374 | | if constexpr (std::is_same_v<T, jboolean>) { | 375 | | v.z = arg; | 376 | | } else if constexpr (std::is_same_v<T, jbyte>) { | 377 | | v.b = arg; | 378 | | } else if constexpr (std::is_same_v<T, jchar>) { | 379 | | v.c = arg; | 380 | | } else if constexpr (std::is_same_v<T, jshort>) { | 381 | | v.s = arg; | 382 | 5.46k | } else if constexpr (std::is_same_v<T, jint>) { | 383 | 5.46k | v.i = arg; | 384 | | } else if constexpr (std::is_same_v<T, jlong>) { | 385 | | v.j = arg; | 386 | | } else if constexpr (std::is_same_v<T, jfloat>) { | 387 | | v.f = arg; | 388 | | } else if constexpr (std::is_same_v<T, jdouble>) { | 389 | | v.d = arg; | 390 | | } else { | 391 | | static_assert(false); | 392 | | } | 393 | 5.46k | _args.push_back(v); | 394 | 5.46k | return *this; | 395 | 5.46k | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE3EE8with_argIiQsr3stdE13disjunction_vISt7is_sameITL0__hES5_IS6_aES5_IS6_tES5_IS6_sES5_IS6_iES5_IS6_lES5_IS6_fES5_IS6_dEEEERS3_T_ Line | Count | Source | 371 | 625 | FunctionCall& with_arg(T arg) { | 372 | 625 | jvalue v; | 373 | 625 | std::memset(&v, 0, sizeof(v)); | 374 | | if constexpr (std::is_same_v<T, jboolean>) { | 375 | | v.z = arg; | 376 | | } else if constexpr (std::is_same_v<T, jbyte>) { | 377 | | v.b = arg; | 378 | | } else if constexpr (std::is_same_v<T, jchar>) { | 379 | | v.c = arg; | 380 | | } else if constexpr (std::is_same_v<T, jshort>) { | 381 | | v.s = arg; | 382 | 625 | } else if constexpr (std::is_same_v<T, jint>) { | 383 | 625 | v.i = arg; | 384 | | } else if constexpr (std::is_same_v<T, jlong>) { | 385 | | v.j = arg; | 386 | | } else if constexpr (std::is_same_v<T, jfloat>) { | 387 | | v.f = arg; | 388 | | } else if constexpr (std::is_same_v<T, jdouble>) { | 389 | | v.d = arg; | 390 | | } else { | 391 | | static_assert(false); | 392 | | } | 393 | 625 | _args.push_back(v); | 394 | 625 | return *this; | 395 | 625 | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE2EE8with_argIiQsr3stdE13disjunction_vISt7is_sameITL0__hES5_IS6_aES5_IS6_tES5_IS6_sES5_IS6_iES5_IS6_lES5_IS6_fES5_IS6_dEEEERS3_T_ Line | Count | Source | 371 | 4 | FunctionCall& with_arg(T arg) { | 372 | 4 | jvalue v; | 373 | 4 | std::memset(&v, 0, sizeof(v)); | 374 | | if constexpr (std::is_same_v<T, jboolean>) { | 375 | | v.z = arg; | 376 | | } else if constexpr (std::is_same_v<T, jbyte>) { | 377 | | v.b = arg; | 378 | | } else if constexpr (std::is_same_v<T, jchar>) { | 379 | | v.c = arg; | 380 | | } else if constexpr (std::is_same_v<T, jshort>) { | 381 | | v.s = arg; | 382 | 4 | } else if constexpr (std::is_same_v<T, jint>) { | 383 | 4 | v.i = arg; | 384 | | } else if constexpr (std::is_same_v<T, jlong>) { | 385 | | v.j = arg; | 386 | | } else if constexpr (std::is_same_v<T, jfloat>) { | 387 | | v.f = arg; | 388 | | } else if constexpr (std::is_same_v<T, jdouble>) { | 389 | | v.d = arg; | 390 | | } else { | 391 | | static_assert(false); | 392 | | } | 393 | 4 | _args.push_back(v); | 394 | 4 | return *this; | 395 | 4 | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE5EE8with_argIiQsr3stdE13disjunction_vISt7is_sameITL0__hES5_IS6_aES5_IS6_tES5_IS6_sES5_IS6_iES5_IS6_lES5_IS6_fES5_IS6_dEEEERS3_T_ Line | Count | Source | 371 | 7 | FunctionCall& with_arg(T arg) { | 372 | 7 | jvalue v; | 373 | 7 | std::memset(&v, 0, sizeof(v)); | 374 | | if constexpr (std::is_same_v<T, jboolean>) { | 375 | | v.z = arg; | 376 | | } else if constexpr (std::is_same_v<T, jbyte>) { | 377 | | v.b = arg; | 378 | | } else if constexpr (std::is_same_v<T, jchar>) { | 379 | | v.c = arg; | 380 | | } else if constexpr (std::is_same_v<T, jshort>) { | 381 | | v.s = arg; | 382 | 7 | } else if constexpr (std::is_same_v<T, jint>) { | 383 | 7 | v.i = arg; | 384 | | } else if constexpr (std::is_same_v<T, jlong>) { | 385 | | v.j = arg; | 386 | | } else if constexpr (std::is_same_v<T, jfloat>) { | 387 | | v.f = arg; | 388 | | } else if constexpr (std::is_same_v<T, jdouble>) { | 389 | | v.d = arg; | 390 | | } else { | 391 | | static_assert(false); | 392 | | } | 393 | 7 | _args.push_back(v); | 394 | 7 | return *this; | 395 | 7 | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE3EE8with_argIhQsr3stdE13disjunction_vISt7is_sameITL0__hES5_IS6_aES5_IS6_tES5_IS6_sES5_IS6_iES5_IS6_lES5_IS6_fES5_IS6_dEEEERS3_T_ Line | Count | Source | 371 | 209 | FunctionCall& with_arg(T arg) { | 372 | 209 | jvalue v; | 373 | 209 | std::memset(&v, 0, sizeof(v)); | 374 | 209 | if constexpr (std::is_same_v<T, jboolean>) { | 375 | 209 | v.z = arg; | 376 | | } else if constexpr (std::is_same_v<T, jbyte>) { | 377 | | v.b = arg; | 378 | | } else if constexpr (std::is_same_v<T, jchar>) { | 379 | | v.c = arg; | 380 | | } else if constexpr (std::is_same_v<T, jshort>) { | 381 | | v.s = arg; | 382 | | } else if constexpr (std::is_same_v<T, jint>) { | 383 | | v.i = arg; | 384 | | } else if constexpr (std::is_same_v<T, jlong>) { | 385 | | v.j = arg; | 386 | | } else if constexpr (std::is_same_v<T, jfloat>) { | 387 | | v.f = arg; | 388 | | } else if constexpr (std::is_same_v<T, jdouble>) { | 389 | | v.d = arg; | 390 | | } else { | 391 | | static_assert(false); | 392 | | } | 393 | 209 | _args.push_back(v); | 394 | 209 | return *this; | 395 | 209 | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE3EE8with_argIlQsr3stdE13disjunction_vISt7is_sameITL0__hES5_IS6_aES5_IS6_tES5_IS6_sES5_IS6_iES5_IS6_lES5_IS6_fES5_IS6_dEEEERS3_T_ Line | Count | Source | 371 | 209 | FunctionCall& with_arg(T arg) { | 372 | 209 | jvalue v; | 373 | 209 | std::memset(&v, 0, sizeof(v)); | 374 | | if constexpr (std::is_same_v<T, jboolean>) { | 375 | | v.z = arg; | 376 | | } else if constexpr (std::is_same_v<T, jbyte>) { | 377 | | v.b = arg; | 378 | | } else if constexpr (std::is_same_v<T, jchar>) { | 379 | | v.c = arg; | 380 | | } else if constexpr (std::is_same_v<T, jshort>) { | 381 | | v.s = arg; | 382 | | } else if constexpr (std::is_same_v<T, jint>) { | 383 | | v.i = arg; | 384 | 209 | } else if constexpr (std::is_same_v<T, jlong>) { | 385 | 209 | v.j = arg; | 386 | | } else if constexpr (std::is_same_v<T, jfloat>) { | 387 | | v.f = arg; | 388 | | } else if constexpr (std::is_same_v<T, jdouble>) { | 389 | | v.d = arg; | 390 | | } else { | 391 | | static_assert(false); | 392 | | } | 393 | 209 | _args.push_back(v); | 394 | 209 | return *this; | 395 | 209 | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE2EE8with_argIlQsr3stdE13disjunction_vISt7is_sameITL0__hES5_IS6_aES5_IS6_tES5_IS6_sES5_IS6_iES5_IS6_lES5_IS6_fES5_IS6_dEEEERS3_T_ Line | Count | Source | 371 | 192 | FunctionCall& with_arg(T arg) { | 372 | 192 | jvalue v; | 373 | 192 | std::memset(&v, 0, sizeof(v)); | 374 | | if constexpr (std::is_same_v<T, jboolean>) { | 375 | | v.z = arg; | 376 | | } else if constexpr (std::is_same_v<T, jbyte>) { | 377 | | v.b = arg; | 378 | | } else if constexpr (std::is_same_v<T, jchar>) { | 379 | | v.c = arg; | 380 | | } else if constexpr (std::is_same_v<T, jshort>) { | 381 | | v.s = arg; | 382 | | } else if constexpr (std::is_same_v<T, jint>) { | 383 | | v.i = arg; | 384 | 192 | } else if constexpr (std::is_same_v<T, jlong>) { | 385 | 192 | v.j = arg; | 386 | | } else if constexpr (std::is_same_v<T, jfloat>) { | 387 | | v.f = arg; | 388 | | } else if constexpr (std::is_same_v<T, jdouble>) { | 389 | | v.d = arg; | 390 | | } else { | 391 | | static_assert(false); | 392 | | } | 393 | 192 | _args.push_back(v); | 394 | 192 | return *this; | 395 | 192 | } |
|
396 | | |
397 | | template <RefType Ref> |
398 | | FunctionCall& with_arg(const Object<Ref>& obj) WARN_UNUSED_RESULT; |
399 | | |
400 | | template <typename ReturnType> |
401 | | requires(std::is_same_v<typename CallHelper<tag>::RETURN_TYPE, ReturnType>) |
402 | 9.72k | Status call(ReturnType* result) { |
403 | 9.72k | *result = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); |
404 | 9.72k | RETURN_ERROR_IF_EXC(_env); |
405 | 9.71k | return Status::OK(); |
406 | 9.72k | } _ZN5doris3Jni12FunctionCallILNS0_7CallTagE2EE4callIlQsr3stdE9is_same_vINS0_10CallHelperIXT_EE11RETURN_TYPEETL0__EEENS_6StatusEPT_ Line | Count | Source | 402 | 9.13k | Status call(ReturnType* result) { | 403 | 9.13k | *result = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); | 404 | 9.13k | RETURN_ERROR_IF_EXC(_env); | 405 | 9.13k | return Status::OK(); | 406 | 9.13k | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE1EE4callIiQsr3stdE9is_same_vINS0_10CallHelperIXT_EE11RETURN_TYPEETL0__EEENS_6StatusEPT_ Line | Count | Source | 402 | 583 | Status call(ReturnType* result) { | 403 | 583 | *result = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); | 404 | 583 | RETURN_ERROR_IF_EXC(_env); | 405 | 583 | return Status::OK(); | 406 | 583 | } |
Unexecuted instantiation: _ZN5doris3Jni12FunctionCallILNS0_7CallTagE4EE4callIhQsr3stdE9is_same_vINS0_10CallHelperIXT_EE11RETURN_TYPEETL0__EEENS_6StatusEPT_ |
407 | | |
408 | | Status call(Object<Local>* result); |
409 | | |
410 | | Status call(Object<Global>* result); |
411 | | |
412 | 16.6k | Status call() { |
413 | 16.6k | using return_type = typename CallHelper<tag>::RETURN_TYPE; |
414 | | if constexpr (std::disjunction_v< |
415 | | std::is_same<return_type, jboolean>, std::is_same<return_type, jbyte>, |
416 | | std::is_same<return_type, jchar>, std::is_same<return_type, jshort>, |
417 | | std::is_same<return_type, jint>, std::is_same<return_type, jlong>, |
418 | | std::is_same<return_type, jfloat>, std::is_same<return_type, jdouble>, |
419 | 216 | std::is_same<return_type, void>>) { |
420 | 216 | CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); |
421 | 216 | RETURN_ERROR_IF_EXC(_env); |
422 | 16.4k | } else if constexpr (std::is_same_v<return_type, jobject>) { |
423 | 16.4k | jobject tmp = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); |
424 | 16.4k | _env->DeleteLocalRef(tmp); |
425 | 16.4k | RETURN_ERROR_IF_EXC(_env); |
426 | | } else { |
427 | | static_assert(false); |
428 | | } |
429 | 16.6k | return Status::OK(); |
430 | 16.6k | } _ZN5doris3Jni12FunctionCallILNS0_7CallTagE3EE4callEv Line | Count | Source | 412 | 216 | Status call() { | 413 | 216 | using return_type = typename CallHelper<tag>::RETURN_TYPE; | 414 | | if constexpr (std::disjunction_v< | 415 | | std::is_same<return_type, jboolean>, std::is_same<return_type, jbyte>, | 416 | | std::is_same<return_type, jchar>, std::is_same<return_type, jshort>, | 417 | | std::is_same<return_type, jint>, std::is_same<return_type, jlong>, | 418 | | std::is_same<return_type, jfloat>, std::is_same<return_type, jdouble>, | 419 | 216 | std::is_same<return_type, void>>) { | 420 | 216 | CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); | 421 | 216 | RETURN_ERROR_IF_EXC(_env); | 422 | | } else if constexpr (std::is_same_v<return_type, jobject>) { | 423 | | jobject tmp = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); | 424 | | _env->DeleteLocalRef(tmp); | 425 | | RETURN_ERROR_IF_EXC(_env); | 426 | | } else { | 427 | | static_assert(false); | 428 | | } | 429 | 216 | return Status::OK(); | 430 | 216 | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE0EE4callEv Line | Count | Source | 412 | 16.4k | Status call() { | 413 | 16.4k | using return_type = typename CallHelper<tag>::RETURN_TYPE; | 414 | | if constexpr (std::disjunction_v< | 415 | | std::is_same<return_type, jboolean>, std::is_same<return_type, jbyte>, | 416 | | std::is_same<return_type, jchar>, std::is_same<return_type, jshort>, | 417 | | std::is_same<return_type, jint>, std::is_same<return_type, jlong>, | 418 | | std::is_same<return_type, jfloat>, std::is_same<return_type, jdouble>, | 419 | | std::is_same<return_type, void>>) { | 420 | | CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); | 421 | | RETURN_ERROR_IF_EXC(_env); | 422 | 16.4k | } else if constexpr (std::is_same_v<return_type, jobject>) { | 423 | 16.4k | jobject tmp = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); | 424 | 16.4k | _env->DeleteLocalRef(tmp); | 425 | 16.4k | RETURN_ERROR_IF_EXC(_env); | 426 | | } else { | 427 | | static_assert(false); | 428 | | } | 429 | 16.4k | return Status::OK(); | 430 | 16.4k | } |
Unexecuted instantiation: _ZN5doris3Jni12FunctionCallILNS0_7CallTagE8EE4callEv |
431 | | |
432 | | protected: |
433 | | explicit FunctionCall(JNIEnv* env, typename CallHelper<tag>::BASE_TYPE base, |
434 | | jmethodID method_id) |
435 | 55.0k | : _env(env), _base(base), _method(method_id) {}_ZN5doris3Jni12FunctionCallILNS0_7CallTagE9EEC2EP7JNIEnv_P7_jclassP10_jmethodID Line | Count | Source | 435 | 11.1k | : _env(env), _base(base), _method(method_id) {} |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE3EEC2EP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 435 | 216 | : _env(env), _base(base), _method(method_id) {} |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE5EEC2EP7JNIEnv_P7_jclassP10_jmethodID Line | Count | Source | 435 | 794 | : _env(env), _base(base), _method(method_id) {} |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE0EEC2EP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 435 | 26.1k | : _env(env), _base(base), _method(method_id) {} |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE2EEC2EP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 435 | 9.17k | : _env(env), _base(base), _method(method_id) {} |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE1EEC2EP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 435 | 585 | : _env(env), _base(base), _method(method_id) {} |
Unexecuted instantiation: _ZN5doris3Jni12FunctionCallILNS0_7CallTagE4EEC2EP7JNIEnv_P8_jobjectP10_jmethodID Unexecuted instantiation: _ZN5doris3Jni12FunctionCallILNS0_7CallTagE8EEC2EP7JNIEnv_P7_jclassP10_jmethodID _ZN5doris3Jni12FunctionCallILNS0_7CallTagE10EEC2EP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 435 | 6.84k | : _env(env), _base(base), _method(method_id) {} |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE12EEC2EP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 435 | 8 | : _env(env), _base(base), _method(method_id) {} |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE13EEC2EP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 435 | 8 | : _env(env), _base(base), _method(method_id) {} |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE11EEC2EP7JNIEnv_P8_jobjectP10_jmethodID Line | Count | Source | 435 | 70 | : _env(env), _base(base), _method(method_id) {} |
|
436 | | |
437 | | JNIEnv* _env = nullptr; |
438 | | CallHelper<tag>::BASE_TYPE _base; // is jobject/jclass not need new/delete local/global ref. |
439 | | const jmethodID _method = nullptr; |
440 | | std::vector<jvalue> _args; |
441 | | Status _st = Status::OK(); |
442 | | DISALLOW_COPY_AND_ASSIGN(FunctionCall); |
443 | | }; |
444 | | |
445 | | template <CallTag tag> |
446 | | class NonvirtualFunctionCall : public FunctionCall<tag> { |
447 | | public: |
448 | | NonvirtualFunctionCall(NonvirtualFunctionCall&& other) noexcept = default; |
449 | | |
450 | | static NonvirtualFunctionCall instance(JNIEnv* env, typename CallHelper<tag>::BASE_TYPE base, |
451 | 6.92k | jclass cls, jmethodID method_id) { |
452 | 6.92k | return NonvirtualFunctionCall(env, base, cls, method_id); |
453 | 6.92k | } _ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE10EE8instanceEP7JNIEnv_P8_jobjectP7_jclassP10_jmethodID Line | Count | Source | 451 | 6.83k | jclass cls, jmethodID method_id) { | 452 | 6.83k | return NonvirtualFunctionCall(env, base, cls, method_id); | 453 | 6.83k | } |
_ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE12EE8instanceEP7JNIEnv_P8_jobjectP7_jclassP10_jmethodID Line | Count | Source | 451 | 8 | jclass cls, jmethodID method_id) { | 452 | 8 | return NonvirtualFunctionCall(env, base, cls, method_id); | 453 | 8 | } |
_ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE13EE8instanceEP7JNIEnv_P8_jobjectP7_jclassP10_jmethodID Line | Count | Source | 451 | 8 | jclass cls, jmethodID method_id) { | 452 | 8 | return NonvirtualFunctionCall(env, base, cls, method_id); | 453 | 8 | } |
_ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE11EE8instanceEP7JNIEnv_P8_jobjectP7_jclassP10_jmethodID Line | Count | Source | 451 | 70 | jclass cls, jmethodID method_id) { | 452 | 70 | return NonvirtualFunctionCall(env, base, cls, method_id); | 453 | 70 | } |
|
454 | | |
455 | | // no override |
456 | | template <class T> |
457 | | requires std::disjunction_v<std::is_same<T, jboolean>, std::is_same<T, jbyte>, |
458 | | std::is_same<T, jchar>, std::is_same<T, jshort>, |
459 | | std::is_same<T, jint>, std::is_same<T, jlong>, |
460 | | std::is_same<T, jfloat>, std::is_same<T, jdouble>> |
461 | 175 | NonvirtualFunctionCall& with_arg(T arg) { |
462 | 175 | jvalue v; |
463 | 175 | std::memset(&v, 0, sizeof(v)); |
464 | | if constexpr (std::is_same_v<T, jboolean>) { |
465 | | v.z = arg; |
466 | | } else if constexpr (std::is_same_v<T, jbyte>) { |
467 | | v.b = arg; |
468 | | } else if constexpr (std::is_same_v<T, jchar>) { |
469 | | v.c = arg; |
470 | | } else if constexpr (std::is_same_v<T, jshort>) { |
471 | | v.s = arg; |
472 | | } else if constexpr (std::is_same_v<T, jint>) { |
473 | | v.i = arg; |
474 | 175 | } else if constexpr (std::is_same_v<T, jlong>) { |
475 | 175 | v.j = arg; |
476 | | } else if constexpr (std::is_same_v<T, jfloat>) { |
477 | | v.f = arg; |
478 | | } else if constexpr (std::is_same_v<T, jdouble>) { |
479 | | v.d = arg; |
480 | | } else { |
481 | | static_assert(false); |
482 | | } |
483 | 175 | this->_args.push_back(v); |
484 | 175 | return *this; |
485 | 175 | } _ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE10EE8with_argIlQsr3stdE13disjunction_vISt7is_sameITL0__hES5_IS6_aES5_IS6_tES5_IS6_sES5_IS6_iES5_IS6_lES5_IS6_fES5_IS6_dEEEERS3_T_ Line | Count | Source | 461 | 106 | NonvirtualFunctionCall& with_arg(T arg) { | 462 | 106 | jvalue v; | 463 | 106 | std::memset(&v, 0, sizeof(v)); | 464 | | if constexpr (std::is_same_v<T, jboolean>) { | 465 | | v.z = arg; | 466 | | } else if constexpr (std::is_same_v<T, jbyte>) { | 467 | | v.b = arg; | 468 | | } else if constexpr (std::is_same_v<T, jchar>) { | 469 | | v.c = arg; | 470 | | } else if constexpr (std::is_same_v<T, jshort>) { | 471 | | v.s = arg; | 472 | | } else if constexpr (std::is_same_v<T, jint>) { | 473 | | v.i = arg; | 474 | 106 | } else if constexpr (std::is_same_v<T, jlong>) { | 475 | 106 | v.j = arg; | 476 | | } else if constexpr (std::is_same_v<T, jfloat>) { | 477 | | v.f = arg; | 478 | | } else if constexpr (std::is_same_v<T, jdouble>) { | 479 | | v.d = arg; | 480 | | } else { | 481 | | static_assert(false); | 482 | | } | 483 | 106 | this->_args.push_back(v); | 484 | 106 | return *this; | 485 | 106 | } |
_ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE11EE8with_argIlQsr3stdE13disjunction_vISt7is_sameITL0__hES5_IS6_aES5_IS6_tES5_IS6_sES5_IS6_iES5_IS6_lES5_IS6_fES5_IS6_dEEEERS3_T_ Line | Count | Source | 461 | 69 | NonvirtualFunctionCall& with_arg(T arg) { | 462 | 69 | jvalue v; | 463 | 69 | std::memset(&v, 0, sizeof(v)); | 464 | | if constexpr (std::is_same_v<T, jboolean>) { | 465 | | v.z = arg; | 466 | | } else if constexpr (std::is_same_v<T, jbyte>) { | 467 | | v.b = arg; | 468 | | } else if constexpr (std::is_same_v<T, jchar>) { | 469 | | v.c = arg; | 470 | | } else if constexpr (std::is_same_v<T, jshort>) { | 471 | | v.s = arg; | 472 | | } else if constexpr (std::is_same_v<T, jint>) { | 473 | | v.i = arg; | 474 | 69 | } else if constexpr (std::is_same_v<T, jlong>) { | 475 | 69 | v.j = arg; | 476 | | } else if constexpr (std::is_same_v<T, jfloat>) { | 477 | | v.f = arg; | 478 | | } else if constexpr (std::is_same_v<T, jdouble>) { | 479 | | v.d = arg; | 480 | | } else { | 481 | | static_assert(false); | 482 | | } | 483 | 69 | this->_args.push_back(v); | 484 | 69 | return *this; | 485 | 69 | } |
|
486 | | |
487 | | template <RefType Ref> |
488 | | NonvirtualFunctionCall& with_arg(const Object<Ref>& obj) WARN_UNUSED_RESULT; |
489 | | |
490 | | // no override |
491 | 6.82k | Status call() { |
492 | 6.82k | using return_type = typename CallHelper<tag>::RETURN_TYPE; |
493 | | if constexpr (std::disjunction_v< |
494 | | std::is_same<return_type, jboolean>, std::is_same<return_type, jbyte>, |
495 | | std::is_same<return_type, jchar>, std::is_same<return_type, jshort>, |
496 | | std::is_same<return_type, jint>, std::is_same<return_type, jlong>, |
497 | | std::is_same<return_type, jfloat>, std::is_same<return_type, jdouble>, |
498 | 6.82k | std::is_same<return_type, void>>) { |
499 | 6.82k | CallHelper<tag>::call_impl(this->_env, this->_base, _cls, this->_method, |
500 | 6.82k | this->_args.data()); |
501 | 6.82k | RETURN_ERROR_IF_EXC(this->_env); |
502 | | } else if constexpr (std::is_same_v<return_type, jobject>) { |
503 | | jobject tmp = CallHelper<tag>::call_impl(this->_env, this->_base, _cls, this->_method, |
504 | | this->_args.data()); |
505 | | RETURN_ERROR_IF_EXC(this->_env); |
506 | | this->_env->DeleteLocalRef(tmp); |
507 | | } else { |
508 | | static_assert(false); |
509 | | } |
510 | 6.82k | return Status::OK(); |
511 | 6.82k | } _ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE10EE4callEv Line | Count | Source | 491 | 6.82k | Status call() { | 492 | 6.82k | using return_type = typename CallHelper<tag>::RETURN_TYPE; | 493 | | if constexpr (std::disjunction_v< | 494 | | std::is_same<return_type, jboolean>, std::is_same<return_type, jbyte>, | 495 | | std::is_same<return_type, jchar>, std::is_same<return_type, jshort>, | 496 | | std::is_same<return_type, jint>, std::is_same<return_type, jlong>, | 497 | | std::is_same<return_type, jfloat>, std::is_same<return_type, jdouble>, | 498 | 6.82k | std::is_same<return_type, void>>) { | 499 | 6.82k | CallHelper<tag>::call_impl(this->_env, this->_base, _cls, this->_method, | 500 | 6.82k | this->_args.data()); | 501 | 6.82k | RETURN_ERROR_IF_EXC(this->_env); | 502 | | } else if constexpr (std::is_same_v<return_type, jobject>) { | 503 | | jobject tmp = CallHelper<tag>::call_impl(this->_env, this->_base, _cls, this->_method, | 504 | | this->_args.data()); | 505 | | RETURN_ERROR_IF_EXC(this->_env); | 506 | | this->_env->DeleteLocalRef(tmp); | 507 | | } else { | 508 | | static_assert(false); | 509 | | } | 510 | 6.82k | return Status::OK(); | 511 | 6.82k | } |
Unexecuted instantiation: _ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE12EE4callEv |
512 | | |
513 | | Status call(Object<Local>* result); |
514 | | |
515 | | template <typename ReturnType> |
516 | | requires(std::is_same_v<typename CallHelper<tag>::RETURN_TYPE, ReturnType>) |
517 | 16 | Status call(ReturnType* result) { |
518 | 16 | *result = CallHelper<tag>::call_impl(this->_env, this->_base, _cls, this->_method, |
519 | 16 | this->_args.data()); |
520 | 16 | RETURN_ERROR_IF_EXC(this->_env); |
521 | 16 | return Status::OK(); |
522 | 16 | } _ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE12EE4callIiQsr3stdE9is_same_vINS0_10CallHelperIXT_EE11RETURN_TYPEETL0__EEENS_6StatusEPT_ Line | Count | Source | 517 | 8 | Status call(ReturnType* result) { | 518 | 8 | *result = CallHelper<tag>::call_impl(this->_env, this->_base, _cls, this->_method, | 519 | 8 | this->_args.data()); | 520 | 8 | RETURN_ERROR_IF_EXC(this->_env); | 521 | 8 | return Status::OK(); | 522 | 8 | } |
_ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE13EE4callIhQsr3stdE9is_same_vINS0_10CallHelperIXT_EE11RETURN_TYPEETL0__EEENS_6StatusEPT_ Line | Count | Source | 517 | 8 | Status call(ReturnType* result) { | 518 | 8 | *result = CallHelper<tag>::call_impl(this->_env, this->_base, _cls, this->_method, | 519 | 8 | this->_args.data()); | 520 | 8 | RETURN_ERROR_IF_EXC(this->_env); | 521 | 8 | return Status::OK(); | 522 | 8 | } |
|
523 | | |
524 | | private: |
525 | | explicit NonvirtualFunctionCall(JNIEnv* env, typename CallHelper<tag>::BASE_TYPE base, |
526 | | jclass cls, jmethodID method_id) |
527 | 6.92k | : FunctionCall<tag>(env, base, method_id), _cls(cls) {}_ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE10EEC2EP7JNIEnv_P8_jobjectP7_jclassP10_jmethodID Line | Count | Source | 527 | 6.83k | : FunctionCall<tag>(env, base, method_id), _cls(cls) {} |
_ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE12EEC2EP7JNIEnv_P8_jobjectP7_jclassP10_jmethodID Line | Count | Source | 527 | 8 | : FunctionCall<tag>(env, base, method_id), _cls(cls) {} |
_ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE13EEC2EP7JNIEnv_P8_jobjectP7_jclassP10_jmethodID Line | Count | Source | 527 | 8 | : FunctionCall<tag>(env, base, method_id), _cls(cls) {} |
_ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE11EEC2EP7JNIEnv_P8_jobjectP7_jclassP10_jmethodID Line | Count | Source | 527 | 70 | : FunctionCall<tag>(env, base, method_id), _cls(cls) {} |
|
528 | | jclass _cls; |
529 | | DISALLOW_COPY_AND_ASSIGN(NonvirtualFunctionCall); |
530 | | }; |
531 | | |
532 | | /** |
533 | | * When writing JNI code, developers usually need to pay extra attention to several error-prone aspects, including: |
534 | | * 1. The reference type of jobject (local vs. global) |
535 | | * 2. The lifetime and scope of JNI references |
536 | | * 3. Proper release of references after use |
537 | | * 4. Explicit exception checking after JNI calls |
538 | | * Because these concerns are verbose and easy to overlook, they often lead to bugs or inconsistent code. To simplify this, |
539 | | * we provide a wrapper framework around raw JNI APIs. The following describes how to use it (assuming the user already |
540 | | * understands the basic JNI programming model). |
541 | | * |
542 | | * 0. Get JNIEnv* env: `Status st = Jni::Env::Get(&env)` |
543 | | * 1. Choose the reference type |
544 | | * First, determine whether the JNI object should be a local or global reference. Based on this, create the corresponding C++ wrapper object: |
545 | | * LocalObject / GlobalObject. If the exact JNI type is known, use specialized wrappers such as <Local/Global><Array/String/Class>. |
546 | | * 2. Initialize the object |
547 | | * For `jclass`, typically use: `Status st = Jni::Util::find_class(xxx);` |
548 | | * For other object types, they are usually initialized via: `Status st = clazz.new_object(xxx).with_arg(xxx).call(&object) or by calling methods on existing objects. |
549 | | * 3. Call methods and retrieve results |
550 | | * To invoke a method and obtain a return value, use: `Status st = object.call_<return_type>_method(xxx).call(&result);` |
551 | | * |
552 | | * Notes |
553 | | * 1. All JNI references are automatically released in the wrapper’s destructor, ensuring safe and deterministic cleanup. |
554 | | * 2. All framework method invocations return a Status. |
555 | | * The actual JNI return value is written to the address passed to call(). |
556 | | * |
557 | | * Example: be/test/util/jni_util_test.cpp |
558 | | */ |
559 | | template <RefType Ref> |
560 | | class Object { |
561 | | // env->GetObjectRefType |
562 | | public: |
563 | 98.9k | Object() = default; _ZN5doris3Jni6ObjectILNS0_7RefTypeE0EEC2Ev Line | Count | Source | 563 | 87.0k | Object() = default; |
_ZN5doris3Jni6ObjectILNS0_7RefTypeE1EEC2Ev Line | Count | Source | 563 | 11.9k | Object() = default; |
|
564 | | |
565 | | template <RefType U> |
566 | | friend class Object; |
567 | | |
568 | | template <RefType U> |
569 | | friend class Class; |
570 | | |
571 | | template <RefType U> |
572 | | friend class String; |
573 | | |
574 | | template <RefType U> |
575 | | friend class Array; |
576 | | |
577 | | template <BufferType bufferfType, RefType U> |
578 | | friend class BufferGuard; |
579 | | |
580 | | template <CallTag tag> |
581 | | friend class FunctionCall; |
582 | | |
583 | | template <CallTag tag> |
584 | | friend class NonvirtualFunctionCall; |
585 | | |
586 | 99.3k | virtual ~Object() { |
587 | 99.3k | if (_obj != nullptr) [[likely]] { |
588 | 82.7k | JNIEnv* env = nullptr; |
589 | 82.7k | if (Status st = RefHelper<Ref>::get_env(&env); !st.ok()) [[unlikely]] { |
590 | 0 | LOG(WARNING) << "Can't destroy Jni Ref : " << st.msg(); |
591 | 0 | return; |
592 | 0 | } |
593 | 82.7k | RefHelper<Ref>::destroy(env, _obj); |
594 | 82.7k | } |
595 | 99.3k | } _ZN5doris3Jni6ObjectILNS0_7RefTypeE1EED2Ev Line | Count | Source | 586 | 12.1k | virtual ~Object() { | 587 | 12.1k | if (_obj != nullptr) [[likely]] { | 588 | 11.9k | JNIEnv* env = nullptr; | 589 | 11.9k | if (Status st = RefHelper<Ref>::get_env(&env); !st.ok()) [[unlikely]] { | 590 | 0 | LOG(WARNING) << "Can't destroy Jni Ref : " << st.msg(); | 591 | 0 | return; | 592 | 0 | } | 593 | 11.9k | RefHelper<Ref>::destroy(env, _obj); | 594 | 11.9k | } | 595 | 12.1k | } |
_ZN5doris3Jni6ObjectILNS0_7RefTypeE0EED2Ev Line | Count | Source | 586 | 87.1k | virtual ~Object() { | 587 | 87.1k | if (_obj != nullptr) [[likely]] { | 588 | 70.8k | JNIEnv* env = nullptr; | 589 | 70.8k | if (Status st = RefHelper<Ref>::get_env(&env); !st.ok()) [[unlikely]] { | 590 | 0 | LOG(WARNING) << "Can't destroy Jni Ref : " << st.msg(); | 591 | 0 | return; | 592 | 0 | } | 593 | 70.8k | RefHelper<Ref>::destroy(env, _obj); | 594 | 70.8k | } | 595 | 87.1k | } |
|
596 | | |
597 | | template <RefType R> |
598 | 13.8k | static Status create(JNIEnv* env, const Object<R>& other, Object<Ref>* result) { |
599 | 13.8k | DCHECK(!other.uninitialized()); |
600 | 13.8k | DCHECK(result->uninitialized()); |
601 | | |
602 | 13.8k | result->_obj = RefHelper<Ref>::create(env, other._obj); |
603 | 13.8k | RETURN_ERROR_IF_EXC(env); |
604 | 13.8k | return Status::OK(); |
605 | 13.8k | } _ZN5doris3Jni6ObjectILNS0_7RefTypeE1EE6createILS2_0EEENS_6StatusEP7JNIEnv_RKNS1_IXT_EEEPS3_ Line | Count | Source | 598 | 11.9k | static Status create(JNIEnv* env, const Object<R>& other, Object<Ref>* result) { | 599 | 11.9k | DCHECK(!other.uninitialized()); | 600 | 11.9k | DCHECK(result->uninitialized()); | 601 | | | 602 | 11.9k | result->_obj = RefHelper<Ref>::create(env, other._obj); | 603 | 11.9k | RETURN_ERROR_IF_EXC(env); | 604 | 11.9k | return Status::OK(); | 605 | 11.9k | } |
_ZN5doris3Jni6ObjectILNS0_7RefTypeE0EE6createILS2_0EEENS_6StatusEP7JNIEnv_RKNS1_IXT_EEEPS3_ Line | Count | Source | 598 | 1.95k | static Status create(JNIEnv* env, const Object<R>& other, Object<Ref>* result) { | 599 | 1.95k | DCHECK(!other.uninitialized()); | 600 | 1.95k | DCHECK(result->uninitialized()); | 601 | | | 602 | 1.95k | result->_obj = RefHelper<Ref>::create(env, other._obj); | 603 | 1.95k | RETURN_ERROR_IF_EXC(env); | 604 | 1.95k | return Status::OK(); | 605 | 1.95k | } |
|
606 | | |
607 | 189k | bool uninitialized() const { return _obj == nullptr; }_ZNK5doris3Jni6ObjectILNS0_7RefTypeE0EE13uninitializedEv Line | Count | Source | 607 | 119k | bool uninitialized() const { return _obj == nullptr; } |
_ZNK5doris3Jni6ObjectILNS0_7RefTypeE1EE13uninitializedEv Line | Count | Source | 607 | 70.3k | bool uninitialized() const { return _obj == nullptr; } |
|
608 | | |
609 | | template <RefType T> |
610 | 5.47k | bool equal(JNIEnv* env, const Object<T>& other) { |
611 | 5.47k | DCHECK(!uninitialized()); |
612 | 5.47k | DCHECK(!other.uninitialized()); |
613 | 5.47k | return env->IsSameObject(this->_obj, other._obj); //assume not throw exception. |
614 | 5.47k | } |
615 | | |
616 | 26.1k | FunctionCall<ObjectMethod> call_object_method(JNIEnv* env, MethodId method_id) const { |
617 | 26.1k | DCHECK(!this->uninitialized()); |
618 | 26.1k | DCHECK(!method_id.uninitialized()); |
619 | 26.1k | return FunctionCall<ObjectMethod>::instance(env, _obj, method_id._id); |
620 | 26.1k | } _ZNK5doris3Jni6ObjectILNS0_7RefTypeE0EE18call_object_methodEP7JNIEnv_NS0_8MethodIdE Line | Count | Source | 616 | 26.1k | FunctionCall<ObjectMethod> call_object_method(JNIEnv* env, MethodId method_id) const { | 617 | 26.1k | DCHECK(!this->uninitialized()); | 618 | | DCHECK(!method_id.uninitialized()); | 619 | 26.1k | return FunctionCall<ObjectMethod>::instance(env, _obj, method_id._id); | 620 | 26.1k | } |
_ZNK5doris3Jni6ObjectILNS0_7RefTypeE1EE18call_object_methodEP7JNIEnv_NS0_8MethodIdE Line | Count | Source | 616 | 14 | FunctionCall<ObjectMethod> call_object_method(JNIEnv* env, MethodId method_id) const { | 617 | 14 | DCHECK(!this->uninitialized()); | 618 | | DCHECK(!method_id.uninitialized()); | 619 | 14 | return FunctionCall<ObjectMethod>::instance(env, _obj, method_id._id); | 620 | 14 | } |
|
621 | | |
622 | 585 | FunctionCall<IntMethod> call_int_method(JNIEnv* env, MethodId method_id) const { |
623 | 585 | DCHECK(!this->uninitialized()); |
624 | 585 | DCHECK(!method_id.uninitialized()); |
625 | 585 | return FunctionCall<IntMethod>::instance(env, _obj, method_id._id); |
626 | 585 | } |
627 | | |
628 | 9.18k | FunctionCall<LongMethod> call_long_method(JNIEnv* env, MethodId method_id) const { |
629 | 9.18k | DCHECK(!this->uninitialized()); |
630 | 9.18k | DCHECK(!method_id.uninitialized()); |
631 | 9.18k | return FunctionCall<LongMethod>::instance(env, _obj, method_id._id); |
632 | 9.18k | } _ZNK5doris3Jni6ObjectILNS0_7RefTypeE0EE16call_long_methodEP7JNIEnv_NS0_8MethodIdE Line | Count | Source | 628 | 6.43k | FunctionCall<LongMethod> call_long_method(JNIEnv* env, MethodId method_id) const { | 629 | 6.43k | DCHECK(!this->uninitialized()); | 630 | | DCHECK(!method_id.uninitialized()); | 631 | 6.43k | return FunctionCall<LongMethod>::instance(env, _obj, method_id._id); | 632 | 6.43k | } |
_ZNK5doris3Jni6ObjectILNS0_7RefTypeE1EE16call_long_methodEP7JNIEnv_NS0_8MethodIdE Line | Count | Source | 628 | 2.74k | FunctionCall<LongMethod> call_long_method(JNIEnv* env, MethodId method_id) const { | 629 | 2.74k | DCHECK(!this->uninitialized()); | 630 | | DCHECK(!method_id.uninitialized()); | 631 | 2.74k | return FunctionCall<LongMethod>::instance(env, _obj, method_id._id); | 632 | 2.74k | } |
|
633 | | |
634 | 216 | FunctionCall<VoidMethod> call_void_method(JNIEnv* env, MethodId method_id) const { |
635 | 216 | DCHECK(!this->uninitialized()); |
636 | 216 | DCHECK(!method_id.uninitialized()); |
637 | 216 | return FunctionCall<VoidMethod>::instance(env, _obj, method_id._id); |
638 | 216 | } |
639 | | |
640 | 0 | FunctionCall<BooleanMethod> call_boolean_method(JNIEnv* env, MethodId method_id) const { |
641 | 0 | DCHECK(!this->uninitialized()); |
642 | 0 | DCHECK(!method_id.uninitialized()); |
643 | 0 | return FunctionCall<BooleanMethod>::instance(env, _obj, method_id._id); |
644 | 0 | } |
645 | | |
646 | | template <RefType R> |
647 | | NonvirtualFunctionCall<NonvirtualVoidMethod> call_nonvirtual_void_method( |
648 | | JNIEnv* env, const Class<R>& clazz, MethodId method_id) const; |
649 | | |
650 | | template <RefType R> |
651 | | NonvirtualFunctionCall<NonvirtualObjectMethod> call_nonvirtual_object_method( |
652 | | JNIEnv* env, const Class<R>& clazz, MethodId method_id) const; |
653 | | |
654 | | template <RefType R> |
655 | | NonvirtualFunctionCall<NonvirtualIntMethod> call_nonvirtual_int_method( |
656 | | JNIEnv* env, const Class<R>& clazz, MethodId method_id) const; |
657 | | |
658 | | template <RefType R> |
659 | | NonvirtualFunctionCall<NonvirtualBooleanMethod> call_nonvirtual_boolean_method( |
660 | | JNIEnv* env, const Class<R>& clazz, MethodId method_id) const; |
661 | | |
662 | | protected: |
663 | | jobject _obj = nullptr; |
664 | | DISALLOW_COPY_AND_ASSIGN(Object); |
665 | | }; |
666 | | |
667 | | using LocalObject = Object<Local>; |
668 | | using GlobalObject = Object<Global>; |
669 | | |
670 | | static inline Status local_to_global_ref(JNIEnv* env, const LocalObject& local_ref, |
671 | 11.9k | GlobalObject* global_ref) { |
672 | 11.9k | return Object<Global>::create(env, local_ref, global_ref); |
673 | 11.9k | } Unexecuted instantiation: doris_main.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: agent_server.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: heartbeat_server.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: task_worker_pool.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: daemon.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hdfs_file_system.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hdfs_file_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cached_remote_file_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: block_file_cache_ttl_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cache_block_meta_store.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_scanner_helper.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: peer_file_cache_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: block_file_cache_profile.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hdfs_file_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: local_file_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: local_file_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: s3_file_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: base_tablet.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: block_column_predicate.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: calc_delete_bitmap_executor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_dir.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: delete_bitmap_calculator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: delete_handler.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: key_coder.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: memtable.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: memtable_memory_limiter.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: memtable_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: memtable_flush_executor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: null_predicate.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: olap_meta.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: olap_server.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: compaction_permit_limiter.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cumulative_compaction_policy.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cumulative_compaction_time_series_policy.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: compaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: merger.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cold_data_compaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: page_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: lru_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: partial_update_info.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: beta_rowset.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: beta_rowset_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: row_cursor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: beta_rowset_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: packed_file_manager.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: rowset.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: rowset_factory.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: rowset_meta.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: rowset_meta_manager.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: segcompaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: segment_creator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: index_file_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: index_file_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: stream_sink_file_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: indexed_column_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: encoding_info.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: bitshuffle_page.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: binary_dict_page.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: inverted_index_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: inverted_index_compaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: inverted_index_compound_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: inverted_index_fs_directory.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: inverted_index_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: inverted_index_iterator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: collection_statistics.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: lazy_init_segment_iterator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: page_io.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: segment.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: column_meta_accessor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: external_col_meta_util.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: indexed_column_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: column_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: ordinal_page_index.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: bloom_filter_index_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: empty_segment_iterator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: column_reader_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: primary_key_index.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: bloom_filter_index_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: segment_iterator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: condition_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: like_column_predicate.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: segment_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: column_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: index_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: inverted_index_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: variant_column_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hierarchical_data_iterator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: stream_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: sparse_column_merge_iterator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: variant_column_writer_impl.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: variant_ext_meta_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: variant_external_meta_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: variant_stats_calculator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vertical_segment_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: virtual_column_iterator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: zone_map_index.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vertical_beta_rowset_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: rowset_version_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_change.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: segment_loader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: single_replica_compaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: snapshot_manager.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: storage_engine.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: storage_policy.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablet.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cumulative_compaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: base_compaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: full_compaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablet_manager.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablet_meta.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablet_meta_manager.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablet_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablet_schema.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablet_column_object_pool.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablet_schema_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: engine_batch_load_task.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: push_handler.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: engine_checksum_task.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: engine_clone_task.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: engine_cloud_index_change_task.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: engine_index_change_task.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: engine_publish_version_task.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: engine_storage_migration_task.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: index_builder.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: txn_manager.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: delta_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: rowset_builder.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: types.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: version_graph.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: wrapper_field.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: client_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: descriptors.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: exec_env.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: exec_env_init.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: wal_manager.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: wal_table.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: wal_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: broker_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: result_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: external_scan_context_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: fragment_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: group_commit_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: load_channel_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: load_channel.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: load_stream_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: load_stream.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablet_info.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: load_stream_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: mem_tracker_limiter.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: memory_profile.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: query_context.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: result_buffer_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: result_block_buffer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: result_queue_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: record_batch_queue.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: routine_load_task_executor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_consumer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: multi_table_pipe.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: runtime_predicate.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: runtime_state.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: small_file_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: snapshot_loader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: broker_file_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: new_load_stream_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: stream_load_executor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: stream_load_recorder_manager.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablets_channel.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: thread_context.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_plugin_downloader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: workload_group.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: workload_group_manager.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: workload_group_metrics.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: query_task_controller.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: workload_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: workload_sched_policy_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: runtime_filter.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: runtime_filter_consumer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: runtime_filter_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: runtime_filter_producer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: runtime_filter_wrapper.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: utils.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: arrow_flight_batch_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: backend_service.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: brpc_service.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: http_service.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: internal_service.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: fold_constant_executor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: rowid_fetcher.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: point_query_executor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: row_batch.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: brpc_client_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: doris_metrics.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE jni-util.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Line | Count | Source | 671 | 11.9k | GlobalObject* global_ref) { | 672 | 11.9k | return Object<Global>::create(env, local_ref, global_ref); | 673 | 11.9k | } |
jvm_metrics.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Line | Count | Source | 671 | 36 | GlobalObject* global_ref) { | 672 | 36 | return Object<Global>::create(env, local_ref, global_ref); | 673 | 36 | } |
Unexecuted instantiation: obj_lru_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: s3_util.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: threadpool.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: thrift_server.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: thrift_util.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: calc_file_crc_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: check_encryption_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: check_tablet_segment_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: checksum_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: compaction_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: compaction_score_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: delete_bitmap_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: dictionary_status_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: download_binlog_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: file_cache_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: http_stream.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: load_channel_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: load_stream_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: meta_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: pad_rowset_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: pipeline_task_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: reload_tablet_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: report_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: restore_tablet_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: show_hotspot_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: show_nested_index_file_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: snapshot_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: stream_load.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablet_migration_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablets_distribution_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablets_info_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: aggregate_function_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: aggregate_function_ai_agg.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: aggregate_function_window.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: column_variant.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_util.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: block.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: field.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: convert_field_to_type.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_decimal.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_factory.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_date_or_datetime_v2.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_date_time.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: mysql_row_buffer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_ipv4.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_ipv6.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_number_base.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_time.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: date_func.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_timestamptz.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_variant.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: get_least_supertype.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_date_or_datetime_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_datetimev2_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_datev2_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_decimal_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_ipv4_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_ipv6_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_nullable_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_number_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_string_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_time_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_timestamptz_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_type_variant_serde.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: avro_jni_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: csv_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: new_json_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: native_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vorc_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: file_meta_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: column_type_convert.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: parquet_block_split_bloom_filter.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: parquet_column_convert.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vparquet_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_desc.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vparquet_group_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vparquet_column_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vparquet_page_index.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: text_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE jni_connector.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Line | Count | Source | 671 | 14 | GlobalObject* global_ref) { | 672 | 14 | return Object<Global>::create(env, local_ref, global_ref); | 673 | 14 | } |
Unexecuted instantiation: file_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: trino_connector_jni_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: wal_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: arrow_stream_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: remote_doris_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: paimon_jni_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hudi_jni_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: lakesoul_jni_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: max_compute_jni_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hive_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: table_format_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hive_orc_nested_column_utils.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hive_parquet_nested_column_utils.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: iceberg_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: equality_delete.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: iceberg_parquet_nested_column_utils.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: iceberg_orc_nested_column_utils.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: paimon_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hudi_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: transactional_hive_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: runtime_filter_consumer_helper.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: scanner_scheduler.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: scanner_context.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: olap_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: simplified_scan_scheduler.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: time_sharing_task_executor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vjdbc_connector.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vbitmap_predicate.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vbloom_predicate.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vectorized_fn_call.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vcast_expr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: varray_literal.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vexpr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: varray_map_function.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: varray_filter_function.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: varray_sort_function.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vcondition_expr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vcase_expr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vexpr_context.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vin_predicate.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vinfo_func.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: virtual_slot_ref.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vliteral.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vmap_literal.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vmatch_predicate.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vruntimefilter_wrapper.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vsearch.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vslot_ref.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vstruct_literal.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: ai_functions.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_register.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_flatten.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_exists.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_element.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_index.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_aggregation.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_distance.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_distinct.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_except.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_intersect.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_difference.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_enumerate.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_enumerate_uniq.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_range.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_compact.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_pop.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_constructor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_apply.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_concat.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_pushfront.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_pushback.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_first_or_last_index.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_cum_sum.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_count.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_filter.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_contains_all.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_remove.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_shuffle.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_slice.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_sort.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_sortby.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_split.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_union.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_utils.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_with_constant.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_array_zip.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_arrays_overlap.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: varray_match_function.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_cast.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cast_base.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: comparison.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: comparison_equal_for_null.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: comparison_equals.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: comparison_greater.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: comparison_less.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: divide.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_assert_true.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_bit.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_bit_count.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_bit_shift.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_bit_test.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_bitmap.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_bitmap_variadic.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_collection_in.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_compress.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_conv.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_convert_tz.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_date_or_datetime_computation.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_date_or_datetime_to_string.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_datetime_floor_ceil.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_datetime_string_to_string.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_decode_varchar.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_dict_get.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_dict_get_many.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_encode_varchar.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_encryption.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_fake.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_format.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_grouping.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_hash.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_helpers.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_hex.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_hll.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_ignore.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_ip.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_java_udf.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_json.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_json_hash.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_jsonb.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_jsonb_transform.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_map.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_multi_match.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_nullables.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_other_types_to_date.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_quantile_state.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_regexp.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_rpc.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_score.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_search.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: intersection.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: regexp_weight.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_size.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_soundex.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_split_by_regexp.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_string.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_struct.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_struct_element.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_time_value_to_field.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_to_json.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_tokenize.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_utility.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_uuid.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_varbinary.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_variant_element.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_variant_type.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_width_bucket.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: functions_geo.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: functions_logical.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: functions_multi_string_position.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: functions_multi_string_search.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: if.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: in.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: int_div.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: is_not_null.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: is_null.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: least_greast.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: like.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: match.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: math.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: minus.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: modulo.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: multiply.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: nullif.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: plus.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: random.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: round.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: time_of_function.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: to_time_function.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: uniform.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: function_url.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: uuid.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: uuid_numeric.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: serialize.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: block_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: olap_data_convertor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vcollect_iterator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vertical_block_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vertical_merge_iterator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vgeneric_iterators.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: timestamptz_value.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vdata_stream_recvr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vdatetime_value.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vsorted_run_merger.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: delta_writer_v2_pool.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: delta_writer_v2.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: beta_rowset_writer_v2.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: load_stream_map_pool.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: load_stream_stub.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: varrow_flight_result_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vmysql_result_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: spill_stream_manager.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: spill_stream.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: dependency.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: file_scan_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: split_source_connector.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: olap_scan_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: parallel_scanner_builder.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hashjoin_build_sink.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: join_build_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: nested_loop_join_build_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: runtime_filter_producer_helper.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vjdbc_table_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: async_result_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: memory_scratch_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vtablet_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vtablet_block_convertor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vrow_distribution.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vtablet_finder.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vtablet_writer_v2.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hive_table_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vhive_table_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vhive_partition_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vparquet_transformer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vorc_transformer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vcsv_transformer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: iceberg_table_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: viceberg_table_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: partition_transformers.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: viceberg_partition_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: analytic_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vectorized_agg_fn.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: blackhole_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: aggregation_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: exchange_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vdata_stream_sender.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: exchange_sink_buffer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: partitioner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: tablet_sink_hash_partitioner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: multi_cast_data_stream_sink.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: multi_cast_data_streamer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: group_commit_block_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cache_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: data_queue.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: dict_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: complex_hash_map_dictionary.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: hashjoin_probe_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: join_probe_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: nested_loop_join_probe_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: inner_join_impl.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: left_semi_join_impl.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: left_anti_join_impl.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: left_outer_join_impl.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: full_outer_join_impl.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: right_outer_join_impl.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: right_semi_join_impl.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: right_anti_join_impl.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: null_aware_left_anti_join_impl.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: null_aware_left_semi_join_impl.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: group_commit_scan_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: jdbc_scan_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: jdbc_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: es_scan_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: es_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: analytic_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: local_merge_sort_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vsort_exec_exprs.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: sorter.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: aggregation_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: exchange_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: multi_cast_data_stream_source.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: datagen_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: meta_scan_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: meta_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: paimon_sys_table_jni_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: iceberg_sys_table_jni_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: parquet_metadata_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: parquet_utils.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cache_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vfile_result_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vnative_transformer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: jdbc_table_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: distinct_streaming_aggregation_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: partition_sorter.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_load_job_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_cluster_snapshots_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_backend_active_tasks.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_user_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_workload_group_resource_usage_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_table_options_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_view_dependency_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_catalog_meta_cache_stats_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_file_cache_info_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_workload_sched_policy_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_active_queries_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_backend_kerberos_ticket_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_processlist_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_workload_group_privileges.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_database_properties_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_rowsets_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_routine_load_job_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_partitions_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_cluster_snapshot_properties_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_encryption_keys_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_workload_groups_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_file_cache_statistics.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_table_properties_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_sql_block_rule_status_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_tablets_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_column_data_sizes_scanner.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: partition_sort_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: partition_sort_utils.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: partition_sort_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: partitioned_aggregation_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: partitioned_aggregation_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: partitioned_hash_join_probe_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: partitioned_hash_join_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: repeat_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: result_file_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: result_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: scan_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: predicate_creator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: schema_scan_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: set_probe_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: set_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: set_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: sort_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: heap_sorter.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: topn_sorter.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: sort_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: spill_sort_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: spill_sort_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: streaming_aggregation_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: table_function_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: table_function_factory.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: udf_table_function.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vexplode_v2.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vexplode_numbers.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vexplode_bitmap.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vexplode_map.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vexplode_json_object.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: vexplode.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: union_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: union_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: local_exchange_sink_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: local_exchange_source_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: local_exchanger.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: pipeline_fragment_context.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: pipeline.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: materialization_opertor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: assert_num_rows_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: empty_set_operator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: pipeline_task.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: query_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: task_queue.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: task_scheduler.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_backend_service.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: block_file_cache_downloader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_compaction_action.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_delete_task.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_engine_calc_delete_bitmap_task.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_index_change_compaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_internal_service.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_meta_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_rowset_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_schema_change_job.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_snapshot_loader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_snapshot_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_storage_engine.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_cumulative_compaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_full_compaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_base_compaction.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_compaction_stop_token.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_cumulative_compaction_policy.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_stream_load_executor.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_tablet.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_tablet_hotspot.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_tablet_mgr.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_tablets_channel.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_delta_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_rowset_builder.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_txn_delete_bitmap_cache.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: cloud_warm_up_manager.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: delete_bitmap_file_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: delete_bitmap_file_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: ann_index.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: ann_index_iterator.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: ann_index_reader.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: ann_index_writer.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: ann_topn_runtime.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE Unexecuted instantiation: faiss_ann_index.cpp:_ZN5doris3JniL19local_to_global_refEP7JNIEnv_RKNS0_6ObjectILNS0_7RefTypeE0EEEPNS3_ILS4_1EEE |
674 | | |
675 | | // auto ReleaseStringUTFChars ReleaseByteArrayElements ... |
676 | | template <BufferType bufferfType, RefType Ref> |
677 | | class BufferGuard { |
678 | | public: |
679 | 1.95k | BufferGuard() = default; |
680 | | |
681 | | template <RefType R> |
682 | | static Status create(JNIEnv* env, const Object<R>& object, |
683 | 1.95k | BufferGuard<bufferfType, Ref>* result, jboolean* isCopy) { |
684 | 1.95k | DCHECK(result->_buffer == nullptr && result->_object.uninitialized()); |
685 | | |
686 | 1.95k | RETURN_IF_ERROR(Object<Ref>::create(env, object, &result->_object)); |
687 | | |
688 | 1.95k | if constexpr (bufferfType == BufferType::Chars) { |
689 | 1.95k | result->_buffer = env->GetStringUTFChars((jstring)result->_object._obj, isCopy); |
690 | | } else if constexpr (bufferfType == BufferType::ByteArray) { |
691 | | result->_buffer = |
692 | | (char*)env->GetByteArrayElements((jbyteArray)result->_object._obj, isCopy); |
693 | | } else { |
694 | | static_assert(false); |
695 | | } |
696 | | |
697 | 1.95k | RETURN_ERROR_IF_EXC(env); |
698 | 1.95k | if (result->_buffer == nullptr) [[unlikely]] { |
699 | 0 | return Status::JniError("GetStringUTFChars/GetByteArrayElements fail."); |
700 | 0 | } |
701 | | |
702 | 1.95k | return Status::OK(); |
703 | 1.95k | } |
704 | | |
705 | 1.95k | ~BufferGuard() { |
706 | 1.95k | if (_object.uninitialized() || _buffer == nullptr) [[unlikely]] { |
707 | 0 | return; |
708 | 0 | } |
709 | 1.95k | JNIEnv* env = nullptr; |
710 | | |
711 | 1.95k | if (auto st = RefHelper<Ref>::get_env(&env); !st.ok()) [[unlikely]] { |
712 | 0 | LOG(WARNING) << "BufferGuard release fail: " << st; |
713 | 0 | return; |
714 | 0 | } |
715 | | |
716 | 1.95k | if constexpr (bufferfType == BufferType::Chars) { |
717 | 1.95k | env->ReleaseStringUTFChars((jstring)_object._obj, _buffer); |
718 | | } else if constexpr (bufferfType == BufferType::ByteArray) { |
719 | | env->ReleaseByteArrayElements((jbyteArray)_object._obj, (jbyte*)_buffer, JNI_ABORT); |
720 | | } |
721 | 1.95k | } |
722 | | |
723 | 3.90k | const char* get() const { return _buffer; } |
724 | | |
725 | | private: |
726 | | Object<Ref> _object; |
727 | | const char* _buffer = nullptr; |
728 | | |
729 | | DISALLOW_COPY_AND_ASSIGN(BufferGuard); |
730 | | }; |
731 | | |
732 | | template <RefType Ref> |
733 | | using StringBufferGuard = BufferGuard<Chars, Ref>; |
734 | | using LocalStringBufferGuard = BufferGuard<Chars, Local>; |
735 | | using GlobalStringBufferGuard = BufferGuard<Chars, Global>; |
736 | | |
737 | | template <RefType Ref> |
738 | | using ByteArrayBufferGuard = BufferGuard<ByteArray, Ref>; |
739 | | using LocalByteArrayBufferGuard = BufferGuard<ByteArray, Local>; |
740 | | using GlobalByteArrayBufferGuard = BufferGuard<ByteArray, Global>; |
741 | | |
742 | | template <RefType Ref> |
743 | | class String : public Object<Ref> { |
744 | | public: |
745 | 34.9k | String() = default; |
746 | | |
747 | 32.9k | static Status new_string(JNIEnv* env, const char* utf_chars, String<Ref>* result) { |
748 | 32.9k | DCHECK(result->uninitialized()); |
749 | | |
750 | 32.9k | if constexpr (Ref == Local) { |
751 | 32.9k | result->_obj = env->NewStringUTF(utf_chars); |
752 | 32.9k | RETURN_ERROR_IF_EXC(env); |
753 | | } else if constexpr (Ref == Global) { |
754 | | String local_result; |
755 | | local_result->_obj = env->NewStringUTF(utf_chars); |
756 | | RETURN_ERROR_IF_EXC(env); |
757 | | RETURN_IF_ERROR(local_to_global_ref(env, local_result, result)); |
758 | | } else { |
759 | | static_assert(false); |
760 | | } |
761 | 32.9k | return Status::OK(); |
762 | 32.9k | } |
763 | | |
764 | 1.95k | Status get_string_chars(JNIEnv* env, StringBufferGuard<Ref>* jni_chars) const { |
765 | 1.95k | return StringBufferGuard<Ref>::create(env, *this, jni_chars, nullptr); |
766 | 1.95k | } |
767 | | |
768 | | private: |
769 | | DISALLOW_COPY_AND_ASSIGN(String); |
770 | | }; |
771 | | |
772 | | template <RefType Ref> |
773 | | class Array : public Object<Ref> { |
774 | | public: |
775 | 6.41k | Array() = default; |
776 | | |
777 | 264 | Status get_length(JNIEnv* env, jsize* result) const { |
778 | 264 | DCHECK(!this->uninitialized()); |
779 | | |
780 | 264 | *result = env->GetArrayLength((jarray)this->_obj); |
781 | 264 | RETURN_ERROR_IF_EXC(env); |
782 | 264 | return Status::OK(); |
783 | 264 | } |
784 | | |
785 | 1.86k | Status get_object_array_element(JNIEnv* env, jsize index, Jni::LocalObject* result) { |
786 | 1.86k | DCHECK(!this->uninitialized()); |
787 | 1.86k | DCHECK(result->uninitialized()); |
788 | 1.86k | result->_obj = env->GetObjectArrayElement((jobjectArray)this->_obj, index); |
789 | 1.86k | RETURN_ERROR_IF_EXC(env); |
790 | 1.86k | return Status::OK(); |
791 | 1.86k | } |
792 | | |
793 | | Status get_byte_elements(JNIEnv* env, ByteArrayBufferGuard<Ref>* jni_bytes) const { |
794 | | DCHECK(!this->uninitialized()); |
795 | | return ByteArrayBufferGuard<Ref>::create(env, *this, jni_bytes, nullptr); |
796 | | } |
797 | | |
798 | 70 | Status get_byte_elements(JNIEnv* env, jsize start, jsize len, jbyte* buffer) { |
799 | 70 | DCHECK(!this->uninitialized()); |
800 | 70 | env->GetByteArrayRegion((jbyteArray)this->_obj, start, len, |
801 | 70 | reinterpret_cast<jbyte*>(buffer)); |
802 | 70 | RETURN_ERROR_IF_EXC(env); |
803 | 70 | return Status::OK(); |
804 | 70 | } |
805 | | |
806 | | static Status WriteBufferToByteArray(JNIEnv* env, const jbyte* buffer, jint size, |
807 | 5.96k | Array<Local>* serialized_msg) { |
808 | 5.96k | DCHECK(serialized_msg->uninitialized()); |
809 | | /// create jbyteArray given buffer |
810 | 5.96k | serialized_msg->_obj = env->NewByteArray(size); |
811 | 5.96k | RETURN_ERROR_IF_EXC(env); |
812 | 5.96k | if (serialized_msg->_obj == nullptr) [[unlikely]] { |
813 | 0 | return Status::JniError("couldn't construct jbyteArray"); |
814 | 0 | } |
815 | 5.96k | env->SetByteArrayRegion((jbyteArray)serialized_msg->_obj, 0, size, buffer); |
816 | 5.96k | RETURN_ERROR_IF_EXC(env); |
817 | 5.96k | return Status::OK(); |
818 | 5.96k | } |
819 | | |
820 | | template <class T> |
821 | 5.87k | static Status SerializeThriftMsg(JNIEnv* env, T* msg, Array<Local>* serialized_msg) { |
822 | 5.87k | int buffer_size = 100 * 1024; // start out with 100KB |
823 | 5.87k | ThriftSerializer serializer(false, buffer_size); |
824 | | |
825 | 5.87k | uint8_t* buffer = nullptr; |
826 | 5.87k | uint32_t size = 0; |
827 | 5.87k | RETURN_IF_ERROR(serializer.serialize(msg, &size, &buffer)); |
828 | | |
829 | | // Make sure that 'size' is within the limit of INT_MAX as the use of |
830 | | // 'size' below takes int. |
831 | 5.87k | if (size > INT_MAX) [[unlikely]] { |
832 | 0 | return Status::JniError( |
833 | 0 | "The length of the serialization buffer ({} bytes) exceeds the limit of {} " |
834 | 0 | "bytes", |
835 | 0 | size, INT_MAX); |
836 | 0 | } |
837 | 5.87k | RETURN_IF_ERROR(WriteBufferToByteArray(env, (jbyte*)buffer, size, serialized_msg)); |
838 | 5.87k | return Status::OK(); |
839 | 5.87k | } _ZN5doris3Jni5ArrayILNS0_7RefTypeE0EE18SerializeThriftMsgINS_23TJdbcExecutorCtorParamsEEENS_6StatusEP7JNIEnv_PT_PS3_ Line | Count | Source | 821 | 7 | static Status SerializeThriftMsg(JNIEnv* env, T* msg, Array<Local>* serialized_msg) { | 822 | 7 | int buffer_size = 100 * 1024; // start out with 100KB | 823 | 7 | ThriftSerializer serializer(false, buffer_size); | 824 | | | 825 | 7 | uint8_t* buffer = nullptr; | 826 | 7 | uint32_t size = 0; | 827 | 7 | RETURN_IF_ERROR(serializer.serialize(msg, &size, &buffer)); | 828 | | | 829 | | // Make sure that 'size' is within the limit of INT_MAX as the use of | 830 | | // 'size' below takes int. | 831 | 7 | if (size > INT_MAX) [[unlikely]] { | 832 | 0 | return Status::JniError( | 833 | 0 | "The length of the serialization buffer ({} bytes) exceeds the limit of {} " | 834 | 0 | "bytes", | 835 | 0 | size, INT_MAX); | 836 | 0 | } | 837 | 7 | RETURN_IF_ERROR(WriteBufferToByteArray(env, (jbyte*)buffer, size, serialized_msg)); | 838 | 7 | return Status::OK(); | 839 | 7 | } |
_ZN5doris3Jni5ArrayILNS0_7RefTypeE0EE18SerializeThriftMsgINS_26TJavaUdfExecutorCtorParamsEEENS_6StatusEP7JNIEnv_PT_PS3_ Line | Count | Source | 821 | 5.86k | static Status SerializeThriftMsg(JNIEnv* env, T* msg, Array<Local>* serialized_msg) { | 822 | 5.86k | int buffer_size = 100 * 1024; // start out with 100KB | 823 | 5.86k | ThriftSerializer serializer(false, buffer_size); | 824 | | | 825 | 5.86k | uint8_t* buffer = nullptr; | 826 | 5.86k | uint32_t size = 0; | 827 | 5.86k | RETURN_IF_ERROR(serializer.serialize(msg, &size, &buffer)); | 828 | | | 829 | | // Make sure that 'size' is within the limit of INT_MAX as the use of | 830 | | // 'size' below takes int. | 831 | 5.86k | if (size > INT_MAX) [[unlikely]] { | 832 | 0 | return Status::JniError( | 833 | 0 | "The length of the serialization buffer ({} bytes) exceeds the limit of {} " | 834 | 0 | "bytes", | 835 | 0 | size, INT_MAX); | 836 | 0 | } | 837 | 5.86k | RETURN_IF_ERROR(WriteBufferToByteArray(env, (jbyte*)buffer, size, serialized_msg)); | 838 | 5.86k | return Status::OK(); | 839 | 5.86k | } |
|
840 | | |
841 | | private: |
842 | | DISALLOW_COPY_AND_ASSIGN(Array); |
843 | | }; |
844 | | |
845 | | template <RefType Ref> |
846 | | class Class : public Object<Ref> { |
847 | | public: |
848 | 12.0k | Class() = default; _ZN5doris3Jni5ClassILNS0_7RefTypeE0EEC2Ev Line | Count | Source | 848 | 5.97k | Class() = default; |
_ZN5doris3Jni5ClassILNS0_7RefTypeE1EEC2Ev Line | Count | Source | 848 | 6.04k | Class() = default; |
|
849 | | |
850 | 5.98k | static Status find_class(JNIEnv* env, const char* class_str, Class<Ref>* result) { |
851 | 5.98k | DCHECK(result->uninitialized()); |
852 | 5.98k | if constexpr (Ref == Local) { |
853 | 14 | result->_obj = env->FindClass(class_str); |
854 | 14 | RETURN_ERROR_IF_EXC(env); |
855 | 14 | return Status::OK(); |
856 | 5.96k | } else if constexpr (Ref == Global) { |
857 | 5.96k | Class<Local> local_class; |
858 | 5.96k | local_class._obj = env->FindClass(class_str); |
859 | 5.96k | RETURN_ERROR_IF_EXC(env); |
860 | 5.96k | return local_to_global_ref(env, local_class, result); |
861 | | } else { |
862 | | static_assert(false); |
863 | | } |
864 | 5.98k | } _ZN5doris3Jni5ClassILNS0_7RefTypeE0EE10find_classEP7JNIEnv_PKcPS3_ Line | Count | Source | 850 | 14 | static Status find_class(JNIEnv* env, const char* class_str, Class<Ref>* result) { | 851 | 14 | DCHECK(result->uninitialized()); | 852 | 14 | if constexpr (Ref == Local) { | 853 | 14 | result->_obj = env->FindClass(class_str); | 854 | 14 | RETURN_ERROR_IF_EXC(env); | 855 | 14 | return Status::OK(); | 856 | | } else if constexpr (Ref == Global) { | 857 | | Class<Local> local_class; | 858 | | local_class._obj = env->FindClass(class_str); | 859 | | RETURN_ERROR_IF_EXC(env); | 860 | | return local_to_global_ref(env, local_class, result); | 861 | | } else { | 862 | | static_assert(false); | 863 | | } | 864 | 14 | } |
_ZN5doris3Jni5ClassILNS0_7RefTypeE1EE10find_classEP7JNIEnv_PKcPS3_ Line | Count | Source | 850 | 5.96k | static Status find_class(JNIEnv* env, const char* class_str, Class<Ref>* result) { | 851 | 5.96k | DCHECK(result->uninitialized()); | 852 | | if constexpr (Ref == Local) { | 853 | | result->_obj = env->FindClass(class_str); | 854 | | RETURN_ERROR_IF_EXC(env); | 855 | | return Status::OK(); | 856 | 5.96k | } else if constexpr (Ref == Global) { | 857 | 5.96k | Class<Local> local_class; | 858 | 5.96k | local_class._obj = env->FindClass(class_str); | 859 | 5.96k | RETURN_ERROR_IF_EXC(env); | 860 | 5.96k | return local_to_global_ref(env, local_class, result); | 861 | | } else { | 862 | | static_assert(false); | 863 | | } | 864 | 5.96k | } |
|
865 | | |
866 | | Status get_static_method(JNIEnv* env, const char* method_str, const char* method_signature, |
867 | 38 | MethodId* method_id) const { |
868 | 38 | DCHECK(!this->uninitialized()); |
869 | 38 | DCHECK(method_id->uninitialized()); |
870 | 38 | method_id->_id = env->GetStaticMethodID((jclass)this->_obj, method_str, method_signature); |
871 | 38 | RETURN_ERROR_IF_EXC(env); |
872 | 38 | return Status::OK(); |
873 | 38 | } _ZNK5doris3Jni5ClassILNS0_7RefTypeE1EE17get_static_methodEP7JNIEnv_PKcS7_PNS0_8MethodIdE Line | Count | Source | 867 | 31 | MethodId* method_id) const { | 868 | 31 | DCHECK(!this->uninitialized()); | 869 | 31 | DCHECK(method_id->uninitialized()); | 870 | 31 | method_id->_id = env->GetStaticMethodID((jclass)this->_obj, method_str, method_signature); | 871 | 31 | RETURN_ERROR_IF_EXC(env); | 872 | 31 | return Status::OK(); | 873 | 31 | } |
_ZNK5doris3Jni5ClassILNS0_7RefTypeE0EE17get_static_methodEP7JNIEnv_PKcS7_PNS0_8MethodIdE Line | Count | Source | 867 | 7 | MethodId* method_id) const { | 868 | 7 | DCHECK(!this->uninitialized()); | 869 | 7 | DCHECK(method_id->uninitialized()); | 870 | 7 | method_id->_id = env->GetStaticMethodID((jclass)this->_obj, method_str, method_signature); | 871 | 7 | RETURN_ERROR_IF_EXC(env); | 872 | 7 | return Status::OK(); | 873 | 7 | } |
|
874 | | |
875 | | Status get_method(JNIEnv* env, const char* method_str, const char* method_signature, |
876 | 19.3k | MethodId* method_id) const { |
877 | 19.3k | DCHECK(!this->uninitialized()); |
878 | 19.3k | DCHECK(method_id->uninitialized()); |
879 | 19.3k | method_id->_id = env->GetMethodID((jclass)this->_obj, method_str, method_signature); |
880 | 19.3k | RETURN_ERROR_IF_EXC(env); |
881 | 19.3k | return Status::OK(); |
882 | 19.3k | } _ZNK5doris3Jni5ClassILNS0_7RefTypeE0EE10get_methodEP7JNIEnv_PKcS7_PNS0_8MethodIdE Line | Count | Source | 876 | 28 | MethodId* method_id) const { | 877 | 28 | DCHECK(!this->uninitialized()); | 878 | 28 | DCHECK(method_id->uninitialized()); | 879 | 28 | method_id->_id = env->GetMethodID((jclass)this->_obj, method_str, method_signature); | 880 | 28 | RETURN_ERROR_IF_EXC(env); | 881 | 28 | return Status::OK(); | 882 | 28 | } |
_ZNK5doris3Jni5ClassILNS0_7RefTypeE1EE10get_methodEP7JNIEnv_PKcS7_PNS0_8MethodIdE Line | Count | Source | 876 | 19.3k | MethodId* method_id) const { | 877 | 19.3k | DCHECK(!this->uninitialized()); | 878 | 19.3k | DCHECK(method_id->uninitialized()); | 879 | 19.3k | method_id->_id = env->GetMethodID((jclass)this->_obj, method_str, method_signature); | 880 | 19.3k | RETURN_ERROR_IF_EXC(env); | 881 | 19.3k | return Status::OK(); | 882 | 19.3k | } |
|
883 | | |
884 | | Status get_static_fieldId(JNIEnv* env, const char* name, const char* signature, |
885 | 36 | FieldId* field_id) const { |
886 | 36 | DCHECK(!this->uninitialized()); |
887 | 36 | DCHECK(field_id->uninitialized()); |
888 | 36 | field_id->_id = env->GetStaticFieldID((jclass)this->_obj, name, signature); |
889 | 36 | RETURN_ERROR_IF_EXC(env); |
890 | 36 | return Status::OK(); |
891 | 36 | } |
892 | | |
893 | | Status get_static_object_field(JNIEnv* env, const FieldId& field_id, |
894 | | Object<Local>* result) const { |
895 | | DCHECK(!this->uninitialized()); |
896 | | DCHECK(!field_id.uninitialized()); |
897 | | result->_obj = env->GetStaticObjectField((jclass)this->_obj, field_id._id); |
898 | | RETURN_ERROR_IF_EXC(env); |
899 | | return Status::OK(); |
900 | | } |
901 | | |
902 | | Status get_static_object_field(JNIEnv* env, const FieldId& field_id, |
903 | 36 | Object<Global>* global_result) const { |
904 | 36 | DCHECK(!this->uninitialized()); |
905 | 36 | DCHECK(!field_id.uninitialized()); |
906 | 36 | Object<Local> local_result; |
907 | 36 | local_result._obj = env->GetStaticObjectField((jclass)this->_obj, field_id._id); |
908 | 36 | RETURN_ERROR_IF_EXC(env); |
909 | 36 | return local_to_global_ref(env, local_result, global_result); |
910 | 36 | } |
911 | | |
912 | | Status get_static_object_field(JNIEnv* env, const char* name, const char* signature, |
913 | 36 | Object<Global>* global_result) const { |
914 | 36 | Jni::FieldId tmpFieldID; |
915 | 36 | RETURN_IF_ERROR(get_static_fieldId(env, name, signature, &tmpFieldID)); |
916 | 36 | RETURN_IF_ERROR(get_static_object_field(env, tmpFieldID, global_result)); |
917 | 36 | return Status::OK(); |
918 | 36 | } |
919 | | |
920 | 11.2k | FunctionCall<NewObject> new_object(JNIEnv* env, MethodId method_id) const { |
921 | 11.2k | DCHECK(!this->uninitialized()); |
922 | 11.2k | DCHECK(!method_id.uninitialized()); |
923 | 11.2k | return FunctionCall<NewObject>::instance(env, (jclass)this->_obj, method_id._id); |
924 | 11.2k | } _ZNK5doris3Jni5ClassILNS0_7RefTypeE0EE10new_objectEP7JNIEnv_NS0_8MethodIdE Line | Count | Source | 920 | 7 | FunctionCall<NewObject> new_object(JNIEnv* env, MethodId method_id) const { | 921 | 7 | DCHECK(!this->uninitialized()); | 922 | | DCHECK(!method_id.uninitialized()); | 923 | 7 | return FunctionCall<NewObject>::instance(env, (jclass)this->_obj, method_id._id); | 924 | 7 | } |
_ZNK5doris3Jni5ClassILNS0_7RefTypeE1EE10new_objectEP7JNIEnv_NS0_8MethodIdE Line | Count | Source | 920 | 11.2k | FunctionCall<NewObject> new_object(JNIEnv* env, MethodId method_id) const { | 921 | 11.2k | DCHECK(!this->uninitialized()); | 922 | | DCHECK(!method_id.uninitialized()); | 923 | 11.2k | return FunctionCall<NewObject>::instance(env, (jclass)this->_obj, method_id._id); | 924 | 11.2k | } |
|
925 | | |
926 | | FunctionCall<StaticObjectMethod> call_static_object_method(JNIEnv* env, |
927 | 794 | MethodId method_id) const { |
928 | 794 | DCHECK(!this->uninitialized()); |
929 | 794 | DCHECK(!method_id.uninitialized()); |
930 | 794 | return FunctionCall<StaticObjectMethod>::instance(env, (jclass)this->_obj, method_id._id); |
931 | 794 | } _ZNK5doris3Jni5ClassILNS0_7RefTypeE1EE25call_static_object_methodEP7JNIEnv_NS0_8MethodIdE Line | Count | Source | 927 | 787 | MethodId method_id) const { | 928 | 787 | DCHECK(!this->uninitialized()); | 929 | | DCHECK(!method_id.uninitialized()); | 930 | 787 | return FunctionCall<StaticObjectMethod>::instance(env, (jclass)this->_obj, method_id._id); | 931 | 787 | } |
_ZNK5doris3Jni5ClassILNS0_7RefTypeE0EE25call_static_object_methodEP7JNIEnv_NS0_8MethodIdE Line | Count | Source | 927 | 7 | MethodId method_id) const { | 928 | 7 | DCHECK(!this->uninitialized()); | 929 | | DCHECK(!method_id.uninitialized()); | 930 | 7 | return FunctionCall<StaticObjectMethod>::instance(env, (jclass)this->_obj, method_id._id); | 931 | 7 | } |
|
932 | | |
933 | 0 | FunctionCall<StaticVoidMethod> call_static_void_method(JNIEnv* env, MethodId method_id) const { |
934 | 0 | DCHECK(!this->uninitialized()); |
935 | 0 | DCHECK(!method_id.uninitialized()); |
936 | 0 | return FunctionCall<StaticVoidMethod>::instance(env, (jclass)this->_obj, method_id._id); |
937 | 0 | } |
938 | | |
939 | | private: |
940 | | DISALLOW_COPY_AND_ASSIGN(Class); |
941 | | }; |
942 | | |
943 | | using LocalClass = Class<Local>; |
944 | | using GlobalClass = Class<Global>; |
945 | | |
946 | | using LocalArray = Array<Local>; |
947 | | using GlobalArray = Array<Global>; |
948 | | |
949 | | using LocalString = String<Local>; |
950 | | using GlobalString = String<Global>; |
951 | | |
952 | | template <CallTag tag> |
953 | | template <RefType Ref> |
954 | 44.4k | FunctionCall<tag>& FunctionCall<tag>::with_arg(const Object<Ref>& obj) { |
955 | 44.4k | jvalue v; |
956 | 44.4k | std::memset(&v, 0, sizeof(v)); |
957 | 44.4k | v.l = obj._obj; |
958 | 44.4k | _args.push_back(v); |
959 | 44.4k | return *this; |
960 | 44.4k | } _ZN5doris3Jni12FunctionCallILNS0_7CallTagE3EE8with_argILNS0_7RefTypeE0EEERS3_RKNS0_6ObjectIXT_EEE Line | Count | Source | 954 | 210 | FunctionCall<tag>& FunctionCall<tag>::with_arg(const Object<Ref>& obj) { | 955 | 210 | jvalue v; | 956 | 210 | std::memset(&v, 0, sizeof(v)); | 957 | 210 | v.l = obj._obj; | 958 | 210 | _args.push_back(v); | 959 | 210 | return *this; | 960 | 210 | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE0EE8with_argILNS0_7RefTypeE0EEERS3_RKNS0_6ObjectIXT_EEE Line | Count | Source | 954 | 33.2k | FunctionCall<tag>& FunctionCall<tag>::with_arg(const Object<Ref>& obj) { | 955 | 33.2k | jvalue v; | 956 | 33.2k | std::memset(&v, 0, sizeof(v)); | 957 | 33.2k | v.l = obj._obj; | 958 | 33.2k | _args.push_back(v); | 959 | 33.2k | return *this; | 960 | 33.2k | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE9EE8with_argILNS0_7RefTypeE0EEERS3_RKNS0_6ObjectIXT_EEE Line | Count | Source | 954 | 5.69k | FunctionCall<tag>& FunctionCall<tag>::with_arg(const Object<Ref>& obj) { | 955 | 5.69k | jvalue v; | 956 | 5.69k | std::memset(&v, 0, sizeof(v)); | 957 | 5.69k | v.l = obj._obj; | 958 | 5.69k | _args.push_back(v); | 959 | 5.69k | return *this; | 960 | 5.69k | } |
Unexecuted instantiation: _ZN5doris3Jni12FunctionCallILNS0_7CallTagE8EE8with_argILNS0_7RefTypeE0EEERS3_RKNS0_6ObjectIXT_EEE _ZN5doris3Jni12FunctionCallILNS0_7CallTagE5EE8with_argILNS0_7RefTypeE0EEERS3_RKNS0_6ObjectIXT_EEE Line | Count | Source | 954 | 7 | FunctionCall<tag>& FunctionCall<tag>::with_arg(const Object<Ref>& obj) { | 955 | 7 | jvalue v; | 956 | 7 | std::memset(&v, 0, sizeof(v)); | 957 | 7 | v.l = obj._obj; | 958 | 7 | _args.push_back(v); | 959 | 7 | return *this; | 960 | 7 | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE2EE8with_argILNS0_7RefTypeE0EEERS3_RKNS0_6ObjectIXT_EEE Line | Count | Source | 954 | 5.29k | FunctionCall<tag>& FunctionCall<tag>::with_arg(const Object<Ref>& obj) { | 955 | 5.29k | jvalue v; | 956 | 5.29k | std::memset(&v, 0, sizeof(v)); | 957 | 5.29k | v.l = obj._obj; | 958 | 5.29k | _args.push_back(v); | 959 | 5.29k | return *this; | 960 | 5.29k | } |
|
961 | | |
962 | | template <CallTag tag> |
963 | | template <RefType Ref> |
964 | 70 | NonvirtualFunctionCall<tag>& NonvirtualFunctionCall<tag>::with_arg(const Object<Ref>& obj) { |
965 | 70 | jvalue v; |
966 | 70 | std::memset(&v, 0, sizeof(v)); |
967 | 70 | v.l = obj._obj; |
968 | 70 | this->_args.push_back(v); |
969 | 70 | return *this; |
970 | 70 | } Unexecuted instantiation: _ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE12EE8with_argILNS0_7RefTypeE0EEERS3_RKNS0_6ObjectIXT_EEE _ZN5doris3Jni22NonvirtualFunctionCallILNS0_7CallTagE10EE8with_argILNS0_7RefTypeE0EEERS3_RKNS0_6ObjectIXT_EEE Line | Count | Source | 964 | 70 | NonvirtualFunctionCall<tag>& NonvirtualFunctionCall<tag>::with_arg(const Object<Ref>& obj) { | 965 | 70 | jvalue v; | 966 | 70 | std::memset(&v, 0, sizeof(v)); | 967 | 70 | v.l = obj._obj; | 968 | 70 | this->_args.push_back(v); | 969 | 70 | return *this; | 970 | 70 | } |
|
971 | | |
972 | | template <CallTag tag> |
973 | 15.9k | Status FunctionCall<tag>::call(Object<Local>* result) { |
974 | 15.9k | DCHECK(result->uninitialized()); |
975 | 15.9k | result->_obj = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); |
976 | 15.9k | RETURN_ERROR_IF_EXC(this->_env); |
977 | 15.9k | return Status::OK(); |
978 | 15.9k | } _ZN5doris3Jni12FunctionCallILNS0_7CallTagE5EE4callEPNS0_6ObjectILNS0_7RefTypeE0EEE Line | Count | Source | 973 | 794 | Status FunctionCall<tag>::call(Object<Local>* result) { | 974 | 794 | DCHECK(result->uninitialized()); | 975 | 794 | result->_obj = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); | 976 | 794 | RETURN_ERROR_IF_EXC(this->_env); | 977 | 794 | return Status::OK(); | 978 | 794 | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE0EE4callEPNS0_6ObjectILNS0_7RefTypeE0EEE Line | Count | Source | 973 | 9.66k | Status FunctionCall<tag>::call(Object<Local>* result) { | 974 | 9.66k | DCHECK(result->uninitialized()); | 975 | 9.66k | result->_obj = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); | 976 | 9.66k | RETURN_ERROR_IF_EXC(this->_env); | 977 | 9.66k | return Status::OK(); | 978 | 9.66k | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE9EE4callEPNS0_6ObjectILNS0_7RefTypeE0EEE Line | Count | Source | 973 | 5.44k | Status FunctionCall<tag>::call(Object<Local>* result) { | 974 | 5.44k | DCHECK(result->uninitialized()); | 975 | 5.44k | result->_obj = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); | 976 | 5.44k | RETURN_ERROR_IF_EXC(this->_env); | 977 | 5.44k | return Status::OK(); | 978 | 5.44k | } |
|
979 | | |
980 | | template <CallTag tag> |
981 | 5.77k | Status FunctionCall<tag>::call(Object<Global>* result) { |
982 | 5.77k | DCHECK(result->uninitialized()); |
983 | 5.77k | Object<Local> local_result; |
984 | 5.77k | local_result._obj = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); |
985 | 5.77k | RETURN_ERROR_IF_EXC(this->_env); |
986 | 5.77k | return local_to_global_ref(_env, local_result, result); |
987 | 5.77k | } _ZN5doris3Jni12FunctionCallILNS0_7CallTagE9EE4callEPNS0_6ObjectILNS0_7RefTypeE1EEE Line | Count | Source | 981 | 5.76k | Status FunctionCall<tag>::call(Object<Global>* result) { | 982 | 5.76k | DCHECK(result->uninitialized()); | 983 | 5.76k | Object<Local> local_result; | 984 | 5.76k | local_result._obj = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); | 985 | 5.76k | RETURN_ERROR_IF_EXC(this->_env); | 986 | 5.76k | return local_to_global_ref(_env, local_result, result); | 987 | 5.76k | } |
_ZN5doris3Jni12FunctionCallILNS0_7CallTagE0EE4callEPNS0_6ObjectILNS0_7RefTypeE1EEE Line | Count | Source | 981 | 14 | Status FunctionCall<tag>::call(Object<Global>* result) { | 982 | 14 | DCHECK(result->uninitialized()); | 983 | 14 | Object<Local> local_result; | 984 | 14 | local_result._obj = CallHelper<tag>::call_impl(_env, _base, _method, _args.data()); | 985 | 14 | RETURN_ERROR_IF_EXC(this->_env); | 986 | 14 | return local_to_global_ref(_env, local_result, result); | 987 | 14 | } |
|
988 | | |
989 | | template <CallTag tag> |
990 | 70 | Status NonvirtualFunctionCall<tag>::call(Object<Local>* result) { |
991 | 70 | DCHECK(result->uninitialized()); |
992 | 70 | result->_obj = CallHelper<tag>::call_impl(this->_env, this->_base, _cls, this->_method, |
993 | 70 | this->_args.data()); |
994 | 70 | RETURN_ERROR_IF_EXC(this->_env); |
995 | 70 | return Status::OK(); |
996 | 70 | } |
997 | | |
998 | | template <RefType Ref> |
999 | | template <RefType R> |
1000 | | NonvirtualFunctionCall<NonvirtualObjectMethod> Object<Ref>::call_nonvirtual_object_method( |
1001 | 70 | JNIEnv* env, const Class<R>& clazz, MethodId method_id) const { |
1002 | 70 | DCHECK(!this->uninitialized()); |
1003 | 70 | DCHECK(!method_id.uninitialized()); |
1004 | | |
1005 | 70 | return NonvirtualFunctionCall<NonvirtualObjectMethod>::instance(env, _obj, (jclass)clazz._obj, |
1006 | 70 | method_id._id); |
1007 | 70 | } |
1008 | | |
1009 | | template <RefType Ref> |
1010 | | template <RefType R> |
1011 | | NonvirtualFunctionCall<NonvirtualVoidMethod> Object<Ref>::call_nonvirtual_void_method( |
1012 | 6.84k | JNIEnv* env, const Class<R>& clazz, MethodId method_id) const { |
1013 | 6.84k | DCHECK(!this->uninitialized()); |
1014 | 6.84k | DCHECK(!method_id.uninitialized()); |
1015 | 6.84k | return NonvirtualFunctionCall<NonvirtualVoidMethod>::instance(env, _obj, (jclass)clazz._obj, |
1016 | 6.84k | method_id._id); |
1017 | 6.84k | } |
1018 | | |
1019 | | template <RefType Ref> |
1020 | | template <RefType R> |
1021 | | NonvirtualFunctionCall<NonvirtualIntMethod> Object<Ref>::call_nonvirtual_int_method( |
1022 | 8 | JNIEnv* env, const Class<R>& clazz, MethodId method_id) const { |
1023 | 8 | DCHECK(!this->uninitialized()); |
1024 | 8 | DCHECK(!method_id.uninitialized()); |
1025 | 8 | return NonvirtualFunctionCall<NonvirtualIntMethod>::instance(env, _obj, (jclass)clazz._obj, |
1026 | 8 | method_id._id); |
1027 | 8 | } |
1028 | | |
1029 | | template <RefType Ref> |
1030 | | template <RefType R> |
1031 | | NonvirtualFunctionCall<NonvirtualBooleanMethod> Object<Ref>::call_nonvirtual_boolean_method( |
1032 | 8 | JNIEnv* env, const Class<R>& clazz, MethodId method_id) const { |
1033 | 8 | DCHECK(!this->uninitialized()); |
1034 | 8 | DCHECK(!method_id.uninitialized()); |
1035 | 8 | return NonvirtualFunctionCall<NonvirtualBooleanMethod>::instance(env, _obj, (jclass)clazz._obj, |
1036 | 8 | method_id._id); |
1037 | 8 | } |
1038 | | |
1039 | | class Util { |
1040 | | public: |
1041 | | static size_t get_max_jni_heap_memory_size(); |
1042 | | |
1043 | | template <RefType Ref> |
1044 | 6.02k | static Status find_class(JNIEnv* env, const char* class_str, Class<Ref>* result) { |
1045 | 6.02k | return Class<Ref>::find_class(env, class_str, result); |
1046 | 6.02k | } _ZN5doris3Jni4Util10find_classILNS0_7RefTypeE0EEENS_6StatusEP7JNIEnv_PKcPNS0_5ClassIXT_EEE Line | Count | Source | 1044 | 14 | static Status find_class(JNIEnv* env, const char* class_str, Class<Ref>* result) { | 1045 | 14 | return Class<Ref>::find_class(env, class_str, result); | 1046 | 14 | } |
_ZN5doris3Jni4Util10find_classILNS0_7RefTypeE1EEENS_6StatusEP7JNIEnv_PKcPNS0_5ClassIXT_EEE Line | Count | Source | 1044 | 6.00k | static Status find_class(JNIEnv* env, const char* class_str, Class<Ref>* result) { | 1045 | 6.00k | return Class<Ref>::find_class(env, class_str, result); | 1046 | 6.00k | } |
|
1047 | | |
1048 | | template <RefType Ref> |
1049 | | static Status WriteBufferToByteArray(JNIEnv* env, const jbyte* buffer, jint size, |
1050 | 70 | Array<Ref>* serialized_msg) { |
1051 | 70 | if constexpr (Ref == Local) { |
1052 | 70 | return Array<Local>::WriteBufferToByteArray(env, buffer, size, serialized_msg); |
1053 | | } else if constexpr (Ref == Global) { |
1054 | | Array<Local> local_obj; |
1055 | | RETURN_IF_ERROR(Array<Local>::WriteBufferToByteArray(env, buffer, size, &local_obj)); |
1056 | | return local_to_global_ref(env, local_obj, serialized_msg); |
1057 | | } else { |
1058 | | static_assert(false); |
1059 | | } |
1060 | 70 | } |
1061 | | |
1062 | | template <class T, RefType Ref> |
1063 | 5.87k | static Status SerializeThriftMsg(JNIEnv* env, T* msg, Array<Ref>* serialized_msg) { |
1064 | 5.87k | if constexpr (Ref == Local) { |
1065 | 5.87k | return Array<Local>::SerializeThriftMsg(env, msg, serialized_msg); |
1066 | | } else if (Ref == Global) { |
1067 | | Array<Local> local_obj; |
1068 | | RETURN_IF_ERROR(Array<Local>::SerializeThriftMsg(env, msg, local_obj)); |
1069 | | return local_to_global_ref(env, local_obj, serialized_msg); |
1070 | | } else { |
1071 | | static_assert(false); |
1072 | | } |
1073 | 5.87k | } _ZN5doris3Jni4Util18SerializeThriftMsgINS_23TJdbcExecutorCtorParamsELNS0_7RefTypeE0EEENS_6StatusEP7JNIEnv_PT_PNS0_5ArrayIXT0_EEE Line | Count | Source | 1063 | 7 | static Status SerializeThriftMsg(JNIEnv* env, T* msg, Array<Ref>* serialized_msg) { | 1064 | 7 | if constexpr (Ref == Local) { | 1065 | 7 | return Array<Local>::SerializeThriftMsg(env, msg, serialized_msg); | 1066 | | } else if (Ref == Global) { | 1067 | | Array<Local> local_obj; | 1068 | | RETURN_IF_ERROR(Array<Local>::SerializeThriftMsg(env, msg, local_obj)); | 1069 | | return local_to_global_ref(env, local_obj, serialized_msg); | 1070 | | } else { | 1071 | | static_assert(false); | 1072 | | } | 1073 | 7 | } |
_ZN5doris3Jni4Util18SerializeThriftMsgINS_26TJavaUdfExecutorCtorParamsELNS0_7RefTypeE0EEENS_6StatusEP7JNIEnv_PT_PNS0_5ArrayIXT0_EEE Line | Count | Source | 1063 | 5.86k | static Status SerializeThriftMsg(JNIEnv* env, T* msg, Array<Ref>* serialized_msg) { | 1064 | 5.86k | if constexpr (Ref == Local) { | 1065 | 5.86k | return Array<Local>::SerializeThriftMsg(env, msg, serialized_msg); | 1066 | | } else if (Ref == Global) { | 1067 | | Array<Local> local_obj; | 1068 | | RETURN_IF_ERROR(Array<Local>::SerializeThriftMsg(env, msg, local_obj)); | 1069 | | return local_to_global_ref(env, local_obj, serialized_msg); | 1070 | | } else { | 1071 | | static_assert(false); | 1072 | | } | 1073 | 5.86k | } |
|
1074 | | |
1075 | | template <RefType Ref> |
1076 | | static Status get_jni_scanner_class(JNIEnv* env, const char* classname, |
1077 | 14 | Object<Ref>* jni_scanner_class) { |
1078 | | // Get JNI scanner class by class name; |
1079 | 14 | LocalString class_name_str; |
1080 | 14 | RETURN_IF_ERROR(LocalString::new_string(env, classname, &class_name_str)); |
1081 | 14 | return jni_scanner_loader_obj_.call_object_method(env, jni_scanner_loader_method_) |
1082 | 14 | .with_arg(class_name_str) |
1083 | 14 | .call(jni_scanner_class); |
1084 | 14 | } _ZN5doris3Jni4Util21get_jni_scanner_classILNS0_7RefTypeE1EEENS_6StatusEP7JNIEnv_PKcPNS0_6ObjectIXT_EEE Line | Count | Source | 1077 | 14 | Object<Ref>* jni_scanner_class) { | 1078 | | // Get JNI scanner class by class name; | 1079 | 14 | LocalString class_name_str; | 1080 | 14 | RETURN_IF_ERROR(LocalString::new_string(env, classname, &class_name_str)); | 1081 | 14 | return jni_scanner_loader_obj_.call_object_method(env, jni_scanner_loader_method_) | 1082 | 14 | .with_arg(class_name_str) | 1083 | 14 | .call(jni_scanner_class); | 1084 | 14 | } |
Unexecuted instantiation: _ZN5doris3Jni4Util21get_jni_scanner_classILNS0_7RefTypeE0EEENS_6StatusEP7JNIEnv_PKcPNS0_6ObjectIXT_EEE |
1085 | | |
1086 | | template <RefType Ref> |
1087 | | static Status convert_to_java_map(JNIEnv* env, const std::map<std::string, std::string>& map, |
1088 | 5.46k | Object<Ref>* hashmap_object) { |
1089 | 5.46k | RETURN_IF_ERROR(hashmap_class.new_object(env, hashmap_constructor) |
1090 | 5.46k | .with_arg((jint)map.size()) |
1091 | 5.46k | .call(hashmap_object)); |
1092 | | |
1093 | 16.5k | for (const auto& it : map) { |
1094 | 16.5k | LocalString key; |
1095 | 16.5k | RETURN_IF_ERROR(String<Local>::new_string(env, it.first.c_str(), &key)); |
1096 | | |
1097 | 16.5k | LocalString value; |
1098 | 16.5k | RETURN_IF_ERROR(String<Local>::new_string(env, it.second.c_str(), &value)); |
1099 | | |
1100 | 16.5k | LocalObject result; |
1101 | 16.5k | RETURN_IF_ERROR(hashmap_object->call_object_method(env, hashmap_put) |
1102 | 16.5k | .with_arg(key) |
1103 | 16.5k | .with_arg(value) |
1104 | 16.5k | .call()); |
1105 | 16.5k | } |
1106 | 5.46k | return Status::OK(); |
1107 | 5.46k | } |
1108 | | |
1109 | | template <RefType Ref> |
1110 | | static Status convert_to_cpp_map(JNIEnv* env, const Object<Ref>& map, |
1111 | 0 | std::map<std::string, std::string>* resultMap) { |
1112 | 0 | LocalObject entrySet; |
1113 | 0 | RETURN_IF_ERROR(map.call_object_method(env, mapEntrySetMethod).call(&entrySet)); |
1114 | | |
1115 | | // Call the iterator method on the set to iterate over the key-value pairs |
1116 | 0 | LocalObject iteratorSet; |
1117 | 0 | RETURN_IF_ERROR(entrySet.call_object_method(env, iteratorSetMethod).call(&iteratorSet)); |
1118 | | |
1119 | 0 | while (true) { |
1120 | 0 | jboolean hasNext = false; |
1121 | 0 | RETURN_IF_ERROR( |
1122 | 0 | iteratorSet.call_boolean_method(env, iteratorHasNextMethod).call(&hasNext)); |
1123 | 0 | if (!hasNext) { |
1124 | 0 | break; |
1125 | 0 | } |
1126 | | |
1127 | 0 | LocalObject entry; |
1128 | 0 | RETURN_IF_ERROR(iteratorSet.call_object_method(env, iteratorNextMethod).call(&entry)); |
1129 | | |
1130 | 0 | LocalString javaKey; |
1131 | 0 | RETURN_IF_ERROR(entry.call_object_method(env, getEntryKeyMethod).call(&javaKey)); |
1132 | | |
1133 | 0 | LocalString javaValue; |
1134 | 0 | RETURN_IF_ERROR(entry.call_object_method(env, getEntryValueMethod).call(&javaValue)); |
1135 | | |
1136 | 0 | LocalStringBufferGuard key; |
1137 | 0 | RETURN_IF_ERROR(javaKey.get_string_chars(env, &key)); |
1138 | | |
1139 | 0 | LocalStringBufferGuard value; |
1140 | 0 | RETURN_IF_ERROR(javaValue.get_string_chars(env, &value)); |
1141 | | |
1142 | | // Store the key-value pair in the map |
1143 | 0 | (*resultMap)[key.get()] = value.get(); |
1144 | 0 | } |
1145 | 0 | return Status::OK(); |
1146 | 0 | } |
1147 | | |
1148 | | static Status clean_udf_class_load_cache(const std::string& function_signature); |
1149 | | |
1150 | | static Status Init(); |
1151 | | |
1152 | | private: |
1153 | | static void _parse_max_heap_memory_size_from_jvm(); |
1154 | | |
1155 | | static Status _init_collect_class() WARN_UNUSED_RESULT; |
1156 | | static Status _init_register_natives() WARN_UNUSED_RESULT; |
1157 | | static Status _init_jni_scanner_loader() WARN_UNUSED_RESULT; |
1158 | | |
1159 | | static bool jvm_inited_; |
1160 | | |
1161 | | // for jvm heap |
1162 | | static jlong max_jvm_heap_memory_size_; |
1163 | | |
1164 | | // for JNI scanner loader |
1165 | | static GlobalObject jni_scanner_loader_obj_; |
1166 | | static MethodId jni_scanner_loader_method_; |
1167 | | |
1168 | | // for clean udf cache |
1169 | | static MethodId _clean_udf_cache_method_id; |
1170 | | |
1171 | | //for hashmap |
1172 | | static GlobalClass hashmap_class; |
1173 | | static MethodId hashmap_constructor; |
1174 | | static MethodId hashmap_put; |
1175 | | |
1176 | | //for map |
1177 | | static GlobalClass mapClass; |
1178 | | static MethodId mapEntrySetMethod; |
1179 | | |
1180 | | // for map entry |
1181 | | static GlobalClass mapEntryClass; |
1182 | | static MethodId getEntryKeyMethod; |
1183 | | static MethodId getEntryValueMethod; |
1184 | | |
1185 | | //for set |
1186 | | static GlobalClass setClass; |
1187 | | static MethodId iteratorSetMethod; |
1188 | | |
1189 | | // for iterator |
1190 | | static GlobalClass iteratorClass; |
1191 | | static MethodId iteratorHasNextMethod; |
1192 | | static MethodId iteratorNextMethod; |
1193 | | }; |
1194 | | }; // namespace Jni |
1195 | | |
1196 | | } // namespace doris |