Re: [Performance] VisibleValidator chained many times?

2017-07-17 Thread Alexander Klimetschek
On 17.07.2017, at 02:48, Alex Deparvu wrote: > Could you open an issue and I'll post my findings there. Created an improvement issue: https://issues.apache.org/jira/browse/OAK-6459 Already added your comment in the description. Cheers, Alex

Re: [Performance] VisibleValidator chained many times?

2017-07-17 Thread Alex Deparvu
Hi Alex, I think you are right, there's an issue with the chaining of the VisibleValidators. I'm still looking into it but the short answer is this is directly related to the hierarchy level (so if a change is 5 levels deep, you'll see 5 validators chained there) and the short fix is to fix calls

[Performance] VisibleValidator chained many times?

2017-07-14 Thread Alexander Klimetschek
Hi, I came across the stacktrace below [2] in oak 1.4.15. The access denied is not the problem, what I was wondering instead: why is VisibleValidator chained 9 times? Code is at [1]. This means NodeStateUtils.isHidden(name) is called 9 times instead of once, which should be enough (it's