zhangqianqiong has uploaded this change for review. (
http://gerrit.cloudera.org:8080/20174
Change subject: IMPALA-12273 Fix possible memory corruption of premature
release of objects returned by native methods
......................................................................
IMPALA-12273 Fix possible memory corruption of premature release of objects
returned by native methods
In the Jni Native method, there was an erroneous usage of JniLocalFrame.
The JniLocalFrame mistakenly released the reference to the returned object
during its destruction,
causing the object to be reclaimed during high-concurrency garbage collection.
The solution is to remove the JniLocalFrame-related code, since the native
method does not create
a local frame in JniEnv.
Testing: During stress testing, there have been no further occurrences of
memory corruption.
Change-Id: I94b1c6b3f96897850512c01cdb942ebdcc59b694
---
M be/src/service/fe-support.cc
1 file changed, 0 insertions(+), 4 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/74/20174/2
--
To view, visit http://gerrit.cloudera.org:8080/20174
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I94b1c6b3f96897850512c01cdb942ebdcc59b694
Gerrit-Change-Number: 20174
Gerrit-PatchSet: 2
Gerrit-Owner: zhangqianqiong <[email protected]>