AppCDS only used in G1GC?
Jiangli Zhou
jiangli.zhou at oracle.com
Wed May 9 18:06:03 UTC 2018
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