NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
Confluence should officially support JDK 1.8.
Provide support for Confluence to use Java 1.8
Confluence use of -Xloggc with a ":" no longer works in Java 7u76 (and Java 8)
JDK 1.8 support for confluence