Do not synchronize around ReactorStmtCtx.schemaPath 51/94951/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 1 Feb 2021 20:06:02 +0000 (21:06 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 1 Feb 2021 20:07:03 +0000 (21:07 +0100)
commit0735f709c996762a2ac65338459c465bffc4dbcf
tree50c9cdaf28b19616315b4da70917c44c7b90a614
parent5fa88937eb5e22c77dd997e7f7966c2fa7a6108f
Do not synchronize around ReactorStmtCtx.schemaPath

The reactor is inherently single-threaded, hence there is no point
in guarding this single field. Remove synchronization and add a few
markes for future improvement.

JIRA: YANGTOOLS-1218
Change-Id: Ic5017bb589ae5086bf8310995d7c03c80e12678a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/ReactorStmtCtx.java