< prev index next >

test/jdk/java/foreign/callarranger/TestMacOsAArch64CallArranger.java

Print this page

  7  *  published by the Free Software Foundation.
  8  *
  9  *  This code is distributed in the hope that it will be useful, but WITHOUT
 10  *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  *  version 2 for more details (a copy is included in the LICENSE file that
 13  *  accompanied this code).
 14  *
 15  *  You should have received a copy of the GNU General Public License version
 16  *  2 along with this work; if not, write to the Free Software Foundation,
 17  *  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  *   Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  *  or visit www.oracle.com if you need additional information or have any
 21  *  questions.
 22  *
 23  */
 24 
 25 /*
 26  * @test
 27  * @enablePreview
 28  * @requires sun.arch.data.model == "64"
 29  * @compile platform/PlatformLayouts.java
 30  * @modules java.base/jdk.internal.foreign
 31  *          java.base/jdk.internal.foreign.abi
 32  *          java.base/jdk.internal.foreign.abi.aarch64
 33  * @build CallArrangerTestBase
 34  * @run testng TestMacOsAArch64CallArranger
 35  */
 36 
 37 import java.lang.foreign.FunctionDescriptor;
 38 import java.lang.foreign.MemoryLayout;
 39 import java.lang.foreign.StructLayout;
 40 import java.lang.foreign.MemorySegment;
 41 import jdk.internal.foreign.abi.Binding;
 42 import jdk.internal.foreign.abi.CallingSequence;
 43 import jdk.internal.foreign.abi.LinkerOptions;
 44 import jdk.internal.foreign.abi.StubLocations;
 45 import jdk.internal.foreign.abi.VMStorage;
 46 import jdk.internal.foreign.abi.aarch64.CallArranger;
 47 import org.testng.annotations.DataProvider;

  7  *  published by the Free Software Foundation.
  8  *
  9  *  This code is distributed in the hope that it will be useful, but WITHOUT
 10  *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  *  version 2 for more details (a copy is included in the LICENSE file that
 13  *  accompanied this code).
 14  *
 15  *  You should have received a copy of the GNU General Public License version
 16  *  2 along with this work; if not, write to the Free Software Foundation,
 17  *  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  *   Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  *  or visit www.oracle.com if you need additional information or have any
 21  *  questions.
 22  *
 23  */
 24 
 25 /*
 26  * @test

 27  * @requires sun.arch.data.model == "64"
 28  * @compile platform/PlatformLayouts.java
 29  * @modules java.base/jdk.internal.foreign
 30  *          java.base/jdk.internal.foreign.abi
 31  *          java.base/jdk.internal.foreign.abi.aarch64
 32  * @build CallArrangerTestBase
 33  * @run testng TestMacOsAArch64CallArranger
 34  */
 35 
 36 import java.lang.foreign.FunctionDescriptor;
 37 import java.lang.foreign.MemoryLayout;
 38 import java.lang.foreign.StructLayout;
 39 import java.lang.foreign.MemorySegment;
 40 import jdk.internal.foreign.abi.Binding;
 41 import jdk.internal.foreign.abi.CallingSequence;
 42 import jdk.internal.foreign.abi.LinkerOptions;
 43 import jdk.internal.foreign.abi.StubLocations;
 44 import jdk.internal.foreign.abi.VMStorage;
 45 import jdk.internal.foreign.abi.aarch64.CallArranger;
 46 import org.testng.annotations.DataProvider;
< prev index next >