HappenLee commented on code in PR #56181:
URL: https://github.com/apache/doris/pull/56181#discussion_r2361843113


##########
be/src/util/jni-util.cpp:
##########
@@ -597,6 +597,10 @@ Status JniUtil::Init() {
     std::string memory_alloc_sign = "(J)J";
     std::string memory_free_name = "memoryTrackerFree";
     std::string memory_free_sign = "(J)V";
+    std::string memory_alloc_batch_name = "memoryTrackerMallocBatch";

Review Comment:
   why we do not use `constexpr char*` to replace all `std::string`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to