AppCDS only used in G1GC?
yumin qi
yumin.qi at gmail.com
Wed May 9 18:52:18 UTC 2018
Jiangli,
Thanks for the explanation.
Yumin
On Wed, May 9, 2018 at 11:06 AM, Jiangli Zhou <jiangli.zhou at oracle.com>
wrote:
> Hi Yumin,
>
> Currently java heap object archiving is only support for G1 GC. If other
> GC algorithm is used at either CDS dump time or runtime, the java heap
> object archiving is disable without affecting the class metadata archiving.
>
> Thanks,
> Jiangli
>
> > On May 9, 2018, at 10:59 AM, yumin qi <yumin.qi at gmail.com> wrote:
> >
> > MetaspaceShared::is_heap_object_archiving_allowed
> >
> > static bool is_heap_object_archiving_allowed() {
> > CDS_JAVA_HEAP_ONLY(return (UseG1GC && UseCompressedOops &&
> > UseCompressedClassPointers);)
> > NOT_CDS_JAVA_HEAP(return false;)
> > }
> >
> >
> > Thanks
> > Yumin
>
>
More information about the hotspot-runtime-dev
mailing list