Github user dsatish commented on the pull request:
https://github.com/apache/groovy/commit/b58342060031f517d6ba42a64dd3ddf392e820bb#commitcomment-25677068
In src/main/groovy/lang/Binding.java:
In src/main/groovy/lang/Binding.java on line 99:
Hi @jstrachan - is the below implementation correct? (we observed high CPU
utilization for our application. APM tool indicates this method is contributing
to the high cpu. We want to test this change that doesn't depend on try/catch
block)
```groovy
public Object getProperty(String property) {
if(getMetaClass().hasProperty(property)!=null){
return super.getProperty(property);
} else {
return getVariable(property);
}
}
---