My Oracle Support Banner

Class Data Sharing FAQ (Doc ID 2777713.1)

Last updated on JULY 18, 2021

Applies to:

Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.

Purpose

 This document answers common questions about Class Data Sharing (CDS).

Questions and Answers

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Questions and Answers
 Goal
 Solution
 Why is CDS turned off? 
 What is the default mode of CDS (off/on/auto)?
 How to verify the current CDS mode setting?
 Can -Xshare:on mode be used in production environments?
 What type of applications benefit from using CDS?
 Where is the CDS shared archive stored?


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.