diff -r 0152ad7b38b8 -r 6df94ce3ab2f src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfigVersioned.java --- a/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfigVersioned.java Tue Sep 24 08:54:08 2019 -0700 +++ b/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfigVersioned.java Tue Sep 24 12:47:15 2019 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,7 +34,7 @@ * * Fields are grouped according to the most recent JBS issue showing why they are versioned. * - * JDK Version: 12+ + * JDK Version: 14+ */ final class GraalHotSpotVMConfigVersioned extends HotSpotVMConfigAccess { @@ -81,4 +81,12 @@ // JDK-8015774 long codeCacheLowBound = getFieldValue("CodeCache::_low_bound", Long.class, "address"); long codeCacheHighBound = getFieldValue("CodeCache::_high_bound", Long.class, "address"); + + // JDK-8229258 + String markWordClassName = "markWord"; + String markWordFieldType = "markWord"; + + // JDK-8186777 + int classMirrorOffset = getFieldOffset("Klass::_java_mirror", Integer.class, "OopHandle"); + boolean classMirrorIsHandle = true; }