Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8273554: [lworld] Runtime tests should not explicitly set -Xint/-Xcomp #550

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2021, 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
@@ -30,8 +30,7 @@
* @summary checkcast bytecode test
* @library /test/lib
* @compile VDefaultTest.java
* @run main/othervm -Xint runtime.valhalla.inlinetypes.CheckcastTest
* @run main/othervm -Xcomp runtime.valhalla.inlinetypes.CheckcastTest
* @run main runtime.valhalla.inlinetypes.CheckcastTest
*/

public class CheckcastTest {
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2021, 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
@@ -29,7 +29,7 @@
* @summary Test initialization of static inline fields with circularity
* @library /test/lib
* @compile CircularityTest.java
* @run main/othervm -Xint -XX:+EnableValhalla runtime.valhalla.inlinetypes.CircularityTest
* @run main/othervm -Xint runtime.valhalla.inlinetypes.CircularityTest
*/


@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, 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
@@ -49,8 +49,7 @@
* @summary Test data movement with inline types
* @library /test/lib /test/jdk/lib/testlibrary/bytecode /test/jdk/java/lang/invoke/common
* @build jdk.experimental.bytecode.BasicClassBuilder test.java.lang.invoke.lib.InstructionHelper
* @run main/othervm -Xint -Xmx128m -XX:-ShowMessageBoxOnError
* -XX:+UnlockDiagnosticVMOptions
* @run main/othervm -Xmx128m
* runtime.valhalla.inlinetypes.CreationErrorTest
*/

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2021, 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
@@ -31,10 +31,8 @@
* @library /test/lib
* @compile -XDallowWithFieldOperator Point.java JumboInline.java
* @compile -XDallowWithFieldOperator FlattenableSemanticTest.java
* @run main/othervm -Xint -XX:InlineFieldMaxFlatSize=64 runtime.valhalla.inlinetypes.FlattenableSemanticTest
* @run main/othervm -Xint -XX:+UnlockDiagnosticVMOptions -XX:ForceNonTearable=* runtime.valhalla.inlinetypes.FlattenableSemanticTest
* @run main/othervm -Xcomp -XX:InlineFieldMaxFlatSize=64 runtime.valhalla.inlinetypes.FlattenableSemanticTest
* @run main/othervm -Xcomp -XX:+UnlockDiagnosticVMOptions -XX:ForceNonTearable=* runtime.valhalla.inlinetypes.FlattenableSemanticTest
* @run main/othervm -XX:InlineFieldMaxFlatSize=64 runtime.valhalla.inlinetypes.FlattenableSemanticTest
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:ForceNonTearable=* runtime.valhalla.inlinetypes.FlattenableSemanticTest
* // debug: -XX:+PrintInlineLayout -XX:-ShowMessageBoxOnError
*/
public class FlattenableSemanticTest {
@@ -30,9 +30,7 @@
* @requires vm.gc == null
* @summary if_acmpeq/ne bytecode test
* @compile Ifacmp.java
* @run main/othervm -Xint -Xms16m -Xmx16m -XX:+UseSerialGC
* runtime.valhalla.inlinetypes.Ifacmp
* @run main/othervm -Xcomp -Xms16m -Xmx16m -XX:+UseSerialGC
* @run main/othervm -Xms16m -Xmx16m -XX:+UseSerialGC
* runtime.valhalla.inlinetypes.Ifacmp
*/
public class Ifacmp {
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2021, 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
@@ -42,7 +42,7 @@
* @compile -XDallowWithFieldOperator InlineOops.java
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xint -XX:+UseSerialGC -Xmx128m -XX:InlineFieldMaxFlatSize=128
* @run main/othervm -XX:+UseSerialGC -Xmx128m -XX:InlineFieldMaxFlatSize=128
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* runtime.valhalla.inlinetypes.InlineOops
*/
@@ -57,7 +57,7 @@
* @compile -XDallowWithFieldOperator InlineOops.java
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xint -XX:+UseG1GC -Xmx128m -XX:InlineFieldMaxFlatSize=128
* @run main/othervm -XX:+UseG1GC -Xmx128m -XX:InlineFieldMaxFlatSize=128
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* runtime.valhalla.inlinetypes.InlineOops 20
*/
@@ -72,7 +72,7 @@
* @compile -XDallowWithFieldOperator InlineOops.java
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xint -XX:+UseParallelGC -Xmx128m -XX:InlineFieldMaxFlatSize=128
* @run main/othervm -XX:+UseParallelGC -Xmx128m -XX:InlineFieldMaxFlatSize=128
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* runtime.valhalla.inlinetypes.InlineOops
*/
@@ -87,68 +87,7 @@
* @compile -XDallowWithFieldOperator InlineOops.java
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xint -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Xmx128m
* -XX:+UnlockDiagnosticVMOptions -XX:+ZVerifyViews -XX:InlineFieldMaxFlatSize=128
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* runtime.valhalla.inlinetypes.InlineOops
*/

/**
* @test InlineOops_comp_serial
* @requires vm.gc.Serial
* @summary Test embedding oops into Inline types
* @library /test/lib /test/jdk/lib/testlibrary/bytecode /test/jdk/java/lang/invoke/common
* @build jdk.experimental.bytecode.BasicClassBuilder test.java.lang.invoke.lib.InstructionHelper
* @compile -XDallowWithFieldOperator Person.java
* @compile -XDallowWithFieldOperator InlineOops.java
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xcomp -XX:+UseSerialGC -Xmx128m -XX:InlineFieldMaxFlatSize=128
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* runtime.valhalla.inlinetypes.InlineOops
*/

/**
* @test InlineOops_comp_G1
* @requires vm.gc.G1
* @summary Test embedding oops into Inline types
* @library /test/lib /test/jdk/lib/testlibrary/bytecode /test/jdk/java/lang/invoke/common
* @build jdk.experimental.bytecode.BasicClassBuilder test.java.lang.invoke.lib.InstructionHelper
* @compile -XDallowWithFieldOperator Person.java
* @compile -XDallowWithFieldOperator InlineOops.java
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xcomp -XX:+UseG1GC -Xmx128m -XX:InlineFieldMaxFlatSize=128
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* runtime.valhalla.inlinetypes.InlineOops 20
*/

/**
* @test InlineOops_comp_Parallel
* @requires vm.gc.Parallel
* @summary Test embedding oops into Inline types
* @library /test/lib /test/jdk/lib/testlibrary/bytecode /test/jdk/java/lang/invoke/common
* @build jdk.experimental.bytecode.BasicClassBuilder test.java.lang.invoke.lib.InstructionHelper
* @compile -XDallowWithFieldOperator Person.java
* @compile -XDallowWithFieldOperator InlineOops.java
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xcomp -XX:+UseParallelGC -Xmx128m -XX:InlineFieldMaxFlatSize=128
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* runtime.valhalla.inlinetypes.InlineOops
*/

/**
* @test InlineOops_comp_Z
* @requires vm.gc.Z
* @summary Test embedding oops into Inline types
* @library /test/lib /test/jdk/lib/testlibrary/bytecode /test/jdk/java/lang/invoke/common
* @build jdk.experimental.bytecode.BasicClassBuilder test.java.lang.invoke.lib.InstructionHelper
* @compile -XDallowWithFieldOperator Person.java
* @compile -XDallowWithFieldOperator InlineOops.java
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xcomp -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Xmx128m
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Xmx128m
* -XX:+UnlockDiagnosticVMOptions -XX:+ZVerifyViews -XX:InlineFieldMaxFlatSize=128
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* runtime.valhalla.inlinetypes.InlineOops
@@ -35,11 +35,9 @@
* @summary Plain array test for Inline Types
* @library /test/lib
* @compile InlineTypeArray.java Point.java Long8Inline.java Person.java
* @run main/othervm -Xint -XX:FlatArrayElementMaxSize=-1 runtime.valhalla.inlinetypes.InlineTypeArray
* @run main/othervm -Xint -XX:FlatArrayElementMaxSize=0 runtime.valhalla.inlinetypes.InlineTypeArray
* @run main/othervm -Xcomp -XX:FlatArrayElementMaxSize=-1 runtime.valhalla.inlinetypes.InlineTypeArray
* @run main/othervm -Xcomp -XX:FlatArrayElementMaxSize=0 runtime.valhalla.inlinetypes.InlineTypeArray
* @run main/othervm -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:ForceNonTearable=* runtime.valhalla.inlinetypes.InlineTypeArray
* @run main/othervm -XX:FlatArrayElementMaxSize=-1 runtime.valhalla.inlinetypes.InlineTypeArray
* @run main/othervm -XX:FlatArrayElementMaxSize=0 runtime.valhalla.inlinetypes.InlineTypeArray
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:ForceNonTearable=* runtime.valhalla.inlinetypes.InlineTypeArray
*/
public class InlineTypeArray {
public static void main(String[] args) {
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, 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
@@ -28,9 +28,8 @@
* @test InlineTypeCreation
* @summary Inline Type creation test
* @library /test/lib
* @compile -XDallowWithFieldOperator -XDallowFlattenabilityModifiers InlineTypeCreation.java Point.java Long8Inline.java Person.java
* @run main/othervm -Xint runtime.valhalla.inlinetypes.InlineTypeCreation
* @run main/othervm -Xcomp runtime.valhalla.inlinetypes.InlineTypeCreation
* @compile -XDallowWithFieldOperator -XDallowFlattenabilityModifiers InlineTypeCreation.java Point.java Long8Inline.java Person.java
* @run main runtime.valhalla.inlinetypes.InlineTypeCreation
*/
public class InlineTypeCreation {
public static void main(String[] args) {
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, 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
@@ -33,16 +33,16 @@
* @library /test/lib
* @compile -XDallowWithFieldOperator InlineTypeDensity.java
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xint -XX:FlatArrayElementMaxSize=-1 -XX:+UseCompressedOops
* @run main/othervm -XX:FlatArrayElementMaxSize=-1 -XX:+UseCompressedOops
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI InlineTypeDensity
* @run main/othervm -Xint -XX:FlatArrayElementMaxSize=-1 -XX:-UseCompressedOops
* @run main/othervm -XX:FlatArrayElementMaxSize=-1 -XX:-UseCompressedOops
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI InlineTypeDensity
* @run main/othervm -Xcomp -XX:FlatArrayElementMaxSize=-1
* @run main/othervm -XX:FlatArrayElementMaxSize=-1
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI InlineTypeDensity
* @run main/othervm -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:FlatArrayElementMaxSize=-1
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:FlatArrayElementMaxSize=-1
* -Xbootclasspath/a:. -XX:ForceNonTearable=*
* -XX:+WhiteBoxAPI InlineTypeDensity
*/
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, 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
@@ -29,8 +29,7 @@
* @summary Inline Type get field test
* @library /test/lib
* @compile -XDallowWithFieldOperator Point.java InlineTypeGetField.java
* @run main/othervm -Xint runtime.valhalla.inlinetypes.InlineTypeGetField
* @run main/othervm -Xcomp runtime.valhalla.inlinetypes.InlineTypeGetField
* @run main runtime.valhalla.inlinetypes.InlineTypeGetField
*/
public class InlineTypeGetField {

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, 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
@@ -50,18 +50,11 @@
* @library /test/lib /test/jdk/lib/testlibrary/bytecode /test/jdk/java/lang/invoke/common
* @build jdk.experimental.bytecode.BasicClassBuilder test.java.lang.invoke.lib.InstructionHelper
* @compile -XDallowWithFieldOperator TestValue1.java TestValue2.java TestValue3.java TestValue4.java InlineTypesTest.java
* @run main/othervm -Xint -Xmx128m -XX:-ShowMessageBoxOnError
* -XX:+ExplicitGCInvokesConcurrent
* @run main/othervm -Xmx128m -XX:+ExplicitGCInvokesConcurrent
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -Djava.lang.invoke.MethodHandle.DUMP_CLASS_FILES=false
* runtime.valhalla.inlinetypes.InlineTypesTest
* @run main/othervm -Xcomp -Xmx128m -XX:-ShowMessageBoxOnError
* -XX:+ExplicitGCInvokesConcurrent
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -Djava.lang.invoke.MethodHandle.DUMP_CLASS_FILES=false
* runtime.valhalla.inlinetypes.InlineTypesTest
* @run main/othervm -Xbatch -Xmx128m -XX:-ShowMessageBoxOnError
* -XX:+ExplicitGCInvokesConcurrent
* @run main/othervm -Xmx128m -XX:+ExplicitGCInvokesConcurrent
* -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
* -Djava.lang.invoke.MethodHandle.DUMP_CLASS_FILES=false
* -XX:ForceNonTearable=*
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2021, 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
@@ -26,8 +26,7 @@
/* @test
* @summary test JNI functions with inline types
* @compile -XDallowWithFieldOperator InlineWithJni.java
* @run main/othervm/native -Xint runtime.valhalla.inlinetypes.InlineWithJni
* @run main/othervm/native -Xcomp runtime.valhalla.inlinetypes.InlineWithJni
* @run main/native runtime.valhalla.inlinetypes.InlineWithJni
*/
public primitive final class InlineWithJni {

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2021, 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
@@ -32,12 +32,9 @@
* @library /test/lib /test/jdk/lib/testlibrary/bytecode /test/jdk/java/lang/invoke/common
* @build jdk.experimental.bytecode.BasicClassBuilder test.java.lang.invoke.lib.InstructionHelper
* @compile -XDallowWithFieldOperator ObjectMethods.java
* @run main/othervm -Xint -XX:+UseCompressedClassPointers runtime.valhalla.inlinetypes.ObjectMethods
* @run main/othervm -Xint -XX:-UseCompressedClassPointers runtime.valhalla.inlinetypes.ObjectMethods
* @run main/othervm -Xint -noverify runtime.valhalla.inlinetypes.ObjectMethods noverify
* @run main/othervm -Xcomp -XX:+UseCompressedClassPointers runtime.valhalla.inlinetypes.ObjectMethods
* @run main/othervm -Xcomp -XX:-UseCompressedClassPointers runtime.valhalla.inlinetypes.ObjectMethods
* @run main/othervm -Xcomp -noverify runtime.valhalla.inlinetypes.ObjectMethods noverify
* @run main/othervm -XX:+UseCompressedClassPointers runtime.valhalla.inlinetypes.ObjectMethods
* @run main/othervm -XX:-UseCompressedClassPointers runtime.valhalla.inlinetypes.ObjectMethods
* @run main/othervm -noverify runtime.valhalla.inlinetypes.ObjectMethods noverify
*/

public class ObjectMethods {
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2021, 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
@@ -30,8 +30,7 @@
* @summary Test quickening of getfield and putfield applied to inline fields
* @library /test/lib
* @compile -XDallowWithFieldOperator Point.java JumboInline.java QuickeningTest.java
* @run main/othervm -Xint runtime.valhalla.inlinetypes.QuickeningTest
* @run main/othervm -Xcomp runtime.valhalla.inlinetypes.QuickeningTest
* @run main runtime.valhalla.inlinetypes.QuickeningTest
*/

public class QuickeningTest {
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2021, 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
@@ -29,7 +29,7 @@
* @summary Test circularity in static fields
* @library /test/lib
* @compile StaticFieldsTest.java
* @run main/othervm -Xint -XX:+EnableValhalla runtime.valhalla.inlinetypes.StaticFieldsTest
* @run main runtime.valhalla.inlinetypes.StaticFieldsTest
*/

public class StaticFieldsTest {
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2021, 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
@@ -28,8 +28,7 @@
* @summary test return of buffered inline type passed in argument by caller
* @library /test/lib
* @compile -XDallowWithFieldOperator Test8186715.java
* @run main/othervm -Xint runtime.valhalla.inlinetypes.Test8186715
* @run main/othervm runtime.valhalla.inlinetypes.Test8186715
* @run main runtime.valhalla.inlinetypes.Test8186715
*/

public class Test8186715 {