Default Java 8 has Tiered Compilation, so JDK HotSpot VM users can benefit from improved startup times with the server compiler.
Compiled JIT code is stored in Code cache and default CodeCache size is equal to 240MB. This is normally enough to middle size application.
In case of JIRA with large number of plugins, size of CodeCache is too small, that may lead to cache overflow and flush of the cache, which causes significant performance degradation.
See related KB: JIRA crashes due to CodeCache is full
Ship JIRA with larger CodeCache: 384m (or 512m)
Edit bin/setenv.sh file and add to JVM_SUPPORT_RECOMMENDED_ARGS
Added the following options: