You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/09/11 21:31:00 UTC
[jira] [Created] (KYLIN-3556) Interned string should not be used as
lock object
Ted Yu created KYLIN-3556:
-----------------------------
Summary: Interned string should not be used as lock object
Key: KYLIN-3556
URL: https://issues.apache.org/jira/browse/KYLIN-3556
Project: Kylin
Issue Type: Bug
Reporter: Ted Yu
In JDBCResourceDAO :
{code}
public void execute(Connection connection) throws SQLException {
synchronized (resPath.intern()) {
{code}
Locking on an interned string can cause unexpected locking collisions with other part of code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)