GROOVY-6554: Improved serialization performance of JsonOutput
GROOVY-6633: In each JsonOutput.toJson method added check for null
Merge pull request #362 from bura/fix-null-to-json

GROOVY-6633: In each JsonOutput.toJson method added check for null
Merge branch 'impr-json-output' of github.com:bura/groovy-core into bura-impr-json-output

Conflicts:
	subprojects/groovy-json/src/main/groovy/groovy/json/JsonOutput.groovy
	subprojects/groovy-json/src/test/groovy/groovy/json/JsonOutputTest.groovy
GROOVY-5249 reduce locking in ClassInfo.getMetaClass(Object)
GROOVY-5249 ClassInfo refactoring: extract method isValidWeakMetaClass and use it also in getMetaClassForClass() method
GROOVY-5249 ClassInfo refactoring: extract method
GROOVY-5249 fix concurrency bug when calling ClassInfo.setWeakMetaClass or setStrongMetaClass
- previously an existing weakMetaClass ManagedReference instance was just forgotten and never cleared.
- call ManagedReference.clear() for possible previous instance in weakMetaClass field
GROOVY-5249: try to reduce the number of data races by reducing the number of reads
utility method refactoring
Merge remote-tracking branch 'upstream/master' into sortable
merge upstream changes