Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.base.jmod - Base Module
JDK 11 java.base.jmod is the JMOD file for JDK 11 Base module.
JDK 11 Base module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.base.jmod.
JDK 11 Base module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Base module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.base.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/lang/invoke/VarHandleDoubles.java
/* * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.lang.invoke; import jdk.internal.util.Preconditions; import jdk.internal.vm.annotation.ForceInline; import java.util.Objects; import static java.lang.invoke.MethodHandleStatics.UNSAFE; // -- This file was mechanically generated: Do not edit! -- // final class VarHandleDoubles { static class FieldInstanceReadOnly extends VarHandle { final long fieldOffset; final Class<?> receiverType; FieldInstanceReadOnly(Class<?> receiverType, long fieldOffset) { this(receiverType, fieldOffset, FieldInstanceReadOnly.FORM); } protected FieldInstanceReadOnly(Class<?> receiverType, long fieldOffset, VarForm form) { super(form); this.fieldOffset = fieldOffset; this.receiverType = receiverType; } @Override final MethodType accessModeTypeUncached(AccessMode accessMode) { return accessMode.at.accessModeType(receiverType, double.class); } @ForceInline static double get(FieldInstanceReadOnly handle, Object holder) { return UNSAFE.getDouble(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset); } @ForceInline static double getVolatile(FieldInstanceReadOnly handle, Object holder) { return UNSAFE.getDoubleVolatile(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset); } @ForceInline static double getOpaque(FieldInstanceReadOnly handle, Object holder) { return UNSAFE.getDoubleOpaque(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset); } @ForceInline static double getAcquire(FieldInstanceReadOnly handle, Object holder) { return UNSAFE.getDoubleAcquire(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset); } static final VarForm FORM = new VarForm(FieldInstanceReadOnly.class, Object.class, double.class); } static final class FieldInstanceReadWrite extends FieldInstanceReadOnly { FieldInstanceReadWrite(Class<?> receiverType, long fieldOffset) { super(receiverType, fieldOffset, FieldInstanceReadWrite.FORM); } @ForceInline static void set(FieldInstanceReadWrite handle, Object holder, double value) { UNSAFE.putDouble(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, value); } @ForceInline static void setVolatile(FieldInstanceReadWrite handle, Object holder, double value) { UNSAFE.putDoubleVolatile(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, value); } @ForceInline static void setOpaque(FieldInstanceReadWrite handle, Object holder, double value) { UNSAFE.putDoubleOpaque(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, value); } @ForceInline static void setRelease(FieldInstanceReadWrite handle, Object holder, double value) { UNSAFE.putDoubleRelease(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, value); } @ForceInline static boolean compareAndSet(FieldInstanceReadWrite handle, Object holder, double expected, double value) { return UNSAFE.compareAndSetDouble(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, expected, value); } @ForceInline static double compareAndExchange(FieldInstanceReadWrite handle, Object holder, double expected, double value) { return UNSAFE.compareAndExchangeDouble(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, expected, value); } @ForceInline static double compareAndExchangeAcquire(FieldInstanceReadWrite handle, Object holder, double expected, double value) { return UNSAFE.compareAndExchangeDoubleAcquire(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, expected, value); } @ForceInline static double compareAndExchangeRelease(FieldInstanceReadWrite handle, Object holder, double expected, double value) { return UNSAFE.compareAndExchangeDoubleRelease(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, expected, value); } @ForceInline static boolean weakCompareAndSetPlain(FieldInstanceReadWrite handle, Object holder, double expected, double value) { return UNSAFE.weakCompareAndSetDoublePlain(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, expected, value); } @ForceInline static boolean weakCompareAndSet(FieldInstanceReadWrite handle, Object holder, double expected, double value) { return UNSAFE.weakCompareAndSetDouble(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, expected, value); } @ForceInline static boolean weakCompareAndSetAcquire(FieldInstanceReadWrite handle, Object holder, double expected, double value) { return UNSAFE.weakCompareAndSetDoubleAcquire(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, expected, value); } @ForceInline static boolean weakCompareAndSetRelease(FieldInstanceReadWrite handle, Object holder, double expected, double value) { return UNSAFE.weakCompareAndSetDoubleRelease(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, expected, value); } @ForceInline static double getAndSet(FieldInstanceReadWrite handle, Object holder, double value) { return UNSAFE.getAndSetDouble(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, value); } @ForceInline static double getAndSetAcquire(FieldInstanceReadWrite handle, Object holder, double value) { return UNSAFE.getAndSetDoubleAcquire(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, value); } @ForceInline static double getAndSetRelease(FieldInstanceReadWrite handle, Object holder, double value) { return UNSAFE.getAndSetDoubleRelease(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, value); } @ForceInline static double getAndAdd(FieldInstanceReadWrite handle, Object holder, double value) { return UNSAFE.getAndAddDouble(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, value); } @ForceInline static double getAndAddAcquire(FieldInstanceReadWrite handle, Object holder, double value) { return UNSAFE.getAndAddDoubleAcquire(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, value); } @ForceInline static double getAndAddRelease(FieldInstanceReadWrite handle, Object holder, double value) { return UNSAFE.getAndAddDoubleRelease(Objects.requireNonNull(handle.receiverType.cast(holder)), handle.fieldOffset, value); } static final VarForm FORM = new VarForm(FieldInstanceReadWrite.class, Object.class, double.class); } static class FieldStaticReadOnly extends VarHandle { final Object base; final long fieldOffset; FieldStaticReadOnly(Object base, long fieldOffset) { this(base, fieldOffset, FieldStaticReadOnly.FORM); } protected FieldStaticReadOnly(Object base, long fieldOffset, VarForm form) { super(form); this.base = base; this.fieldOffset = fieldOffset; } @Override final MethodType accessModeTypeUncached(AccessMode accessMode) { return accessMode.at.accessModeType(null, double.class); } @ForceInline static double get(FieldStaticReadOnly handle) { return UNSAFE.getDouble(handle.base, handle.fieldOffset); } @ForceInline static double getVolatile(FieldStaticReadOnly handle) { return UNSAFE.getDoubleVolatile(handle.base, handle.fieldOffset); } @ForceInline static double getOpaque(FieldStaticReadOnly handle) { return UNSAFE.getDoubleOpaque(handle.base, handle.fieldOffset); } @ForceInline static double getAcquire(FieldStaticReadOnly handle) { return UNSAFE.getDoubleAcquire(handle.base, handle.fieldOffset); } static final VarForm FORM = new VarForm(FieldStaticReadOnly.class, null, double.class); } static final class FieldStaticReadWrite extends FieldStaticReadOnly { FieldStaticReadWrite(Object base, long fieldOffset) { super(base, fieldOffset, FieldStaticReadWrite.FORM); } @ForceInline static void set(FieldStaticReadWrite handle, double value) { UNSAFE.putDouble(handle.base, handle.fieldOffset, value); } @ForceInline static void setVolatile(FieldStaticReadWrite handle, double value) { UNSAFE.putDoubleVolatile(handle.base, handle.fieldOffset, value); } @ForceInline static void setOpaque(FieldStaticReadWrite handle, double value) { UNSAFE.putDoubleOpaque(handle.base, handle.fieldOffset, value); } @ForceInline static void setRelease(FieldStaticReadWrite handle, double value) { UNSAFE.putDoubleRelease(handle.base, handle.fieldOffset, value); } @ForceInline static boolean compareAndSet(FieldStaticReadWrite handle, double expected, double value) { return UNSAFE.compareAndSetDouble(handle.base, handle.fieldOffset, expected, value); } @ForceInline static double compareAndExchange(FieldStaticReadWrite handle, double expected, double value) { return UNSAFE.compareAndExchangeDouble(handle.base, handle.fieldOffset, expected, value); } @ForceInline static double compareAndExchangeAcquire(FieldStaticReadWrite handle, double expected, double value) { return UNSAFE.compareAndExchangeDoubleAcquire(handle.base, handle.fieldOffset, expected, value); } @ForceInline static double compareAndExchangeRelease(FieldStaticReadWrite handle, double expected, double value) { return UNSAFE.compareAndExchangeDoubleRelease(handle.base, handle.fieldOffset, expected, value); } @ForceInline static boolean weakCompareAndSetPlain(FieldStaticReadWrite handle, double expected, double value) { return UNSAFE.weakCompareAndSetDoublePlain(handle.base, handle.fieldOffset, expected, value); } @ForceInline static boolean weakCompareAndSet(FieldStaticReadWrite handle, double expected, double value) { return UNSAFE.weakCompareAndSetDouble(handle.base, handle.fieldOffset, expected, value); } @ForceInline static boolean weakCompareAndSetAcquire(FieldStaticReadWrite handle, double expected, double value) { return UNSAFE.weakCompareAndSetDoubleAcquire(handle.base, handle.fieldOffset, expected, value); } @ForceInline static boolean weakCompareAndSetRelease(FieldStaticReadWrite handle, double expected, double value) { return UNSAFE.weakCompareAndSetDoubleRelease(handle.base, handle.fieldOffset, expected, value); } @ForceInline static double getAndSet(FieldStaticReadWrite handle, double value) { return UNSAFE.getAndSetDouble(handle.base, handle.fieldOffset, value); } @ForceInline static double getAndSetAcquire(FieldStaticReadWrite handle, double value) { return UNSAFE.getAndSetDoubleAcquire(handle.base, handle.fieldOffset, value); } @ForceInline static double getAndSetRelease(FieldStaticReadWrite handle, double value) { return UNSAFE.getAndSetDoubleRelease(handle.base, handle.fieldOffset, value); } @ForceInline static double getAndAdd(FieldStaticReadWrite handle, double value) { return UNSAFE.getAndAddDouble(handle.base, handle.fieldOffset, value); } @ForceInline static double getAndAddAcquire(FieldStaticReadWrite handle, double value) { return UNSAFE.getAndAddDoubleAcquire(handle.base, handle.fieldOffset, value); } @ForceInline static double getAndAddRelease(FieldStaticReadWrite handle, double value) { return UNSAFE.getAndAddDoubleRelease(handle.base, handle.fieldOffset, value); } static final VarForm FORM = new VarForm(FieldStaticReadWrite.class, null, double.class); } static final class Array extends VarHandle { final int abase; final int ashift; Array(int abase, int ashift) { super(Array.FORM); this.abase = abase; this.ashift = ashift; } @Override final MethodType accessModeTypeUncached(AccessMode accessMode) { return accessMode.at.accessModeType(double[].class, double.class, int.class); } @ForceInline static double get(Array handle, Object oarray, int index) { double[] array = (double[]) oarray; return array[index]; } @ForceInline static void set(Array handle, Object oarray, int index, double value) { double[] array = (double[]) oarray; array[index] = value; } @ForceInline static double getVolatile(Array handle, Object oarray, int index) { double[] array = (double[]) oarray; return UNSAFE.getDoubleVolatile(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase); } @ForceInline static void setVolatile(Array handle, Object oarray, int index, double value) { double[] array = (double[]) oarray; UNSAFE.putDoubleVolatile(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, value); } @ForceInline static double getOpaque(Array handle, Object oarray, int index) { double[] array = (double[]) oarray; return UNSAFE.getDoubleOpaque(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase); } @ForceInline static void setOpaque(Array handle, Object oarray, int index, double value) { double[] array = (double[]) oarray; UNSAFE.putDoubleOpaque(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, value); } @ForceInline static double getAcquire(Array handle, Object oarray, int index) { double[] array = (double[]) oarray; return UNSAFE.getDoubleAcquire(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase); } @ForceInline static void setRelease(Array handle, Object oarray, int index, double value) { double[] array = (double[]) oarray; UNSAFE.putDoubleRelease(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, value); } @ForceInline static boolean compareAndSet(Array handle, Object oarray, int index, double expected, double value) { double[] array = (double[]) oarray; return UNSAFE.compareAndSetDouble(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, expected, value); } @ForceInline static double compareAndExchange(Array handle, Object oarray, int index, double expected, double value) { double[] array = (double[]) oarray; return UNSAFE.compareAndExchangeDouble(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, expected, value); } @ForceInline static double compareAndExchangeAcquire(Array handle, Object oarray, int index, double expected, double value) { double[] array = (double[]) oarray; return UNSAFE.compareAndExchangeDoubleAcquire(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, expected, value); } @ForceInline static double compareAndExchangeRelease(Array handle, Object oarray, int index, double expected, double value) { double[] array = (double[]) oarray; return UNSAFE.compareAndExchangeDoubleRelease(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, expected, value); } @ForceInline static boolean weakCompareAndSetPlain(Array handle, Object oarray, int index, double expected, double value) { double[] array = (double[]) oarray; return UNSAFE.weakCompareAndSetDoublePlain(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, expected, value); } @ForceInline static boolean weakCompareAndSet(Array handle, Object oarray, int index, double expected, double value) { double[] array = (double[]) oarray; return UNSAFE.weakCompareAndSetDouble(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, expected, value); } @ForceInline static boolean weakCompareAndSetAcquire(Array handle, Object oarray, int index, double expected, double value) { double[] array = (double[]) oarray; return UNSAFE.weakCompareAndSetDoubleAcquire(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, expected, value); } @ForceInline static boolean weakCompareAndSetRelease(Array handle, Object oarray, int index, double expected, double value) { double[] array = (double[]) oarray; return UNSAFE.weakCompareAndSetDoubleRelease(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, expected, value); } @ForceInline static double getAndSet(Array handle, Object oarray, int index, double value) { double[] array = (double[]) oarray; return UNSAFE.getAndSetDouble(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, value); } @ForceInline static double getAndSetAcquire(Array handle, Object oarray, int index, double value) { double[] array = (double[]) oarray; return UNSAFE.getAndSetDoubleAcquire(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, value); } @ForceInline static double getAndSetRelease(Array handle, Object oarray, int index, double value) { double[] array = (double[]) oarray; return UNSAFE.getAndSetDoubleRelease(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, value); } @ForceInline static double getAndAdd(Array handle, Object oarray, int index, double value) { double[] array = (double[]) oarray; return UNSAFE.getAndAddDouble(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, value); } @ForceInline static double getAndAddAcquire(Array handle, Object oarray, int index, double value) { double[] array = (double[]) oarray; return UNSAFE.getAndAddDoubleAcquire(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, value); } @ForceInline static double getAndAddRelease(Array handle, Object oarray, int index, double value) { double[] array = (double[]) oarray; return UNSAFE.getAndAddDoubleRelease(array, (((long) Preconditions.checkIndex(index, array.length, AIOOBE_SUPPLIER)) << handle.ashift) + handle.abase, value); } static final VarForm FORM = new VarForm(Array.class, double[].class, double.class, int.class); } }
⏎ java/lang/invoke/VarHandleDoubles.java
Or download all of them as a single archive file:
File name: java.base-11.0.1-src.zip File size: 8740354 bytes Release date: 2018-11-04 Download
2020-05-29, 242541👍, 0💬
Popular Posts:
commons-collections4-4.2 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...
How to download and install ojdbc6.jar for Oracle 11g R2? ojdbc6.jar for Oracle 11g R2 is a Java 6, ...
itextpdf.jar is a component in iText 5 Java library to provide core functionalities. iText Java libr...
What Is javax.websocket-api-1.1. jar?javax.websocket-api-1.1. jaris the JAR file for Java API for We...
JDK 17 java.xml.jmod is the JMOD file for JDK 17 XML (eXtensible Markup Language) module. JDK 17 XML...