Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (541)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  HotSpot Intrinsics  (Read 3457 times)
0 Members and 1 Guest are viewing this topic.
Offline Wiki Duke

?





« Posted 2012-08-02 11:49:43 »

This is a list of methods which HotSpot has some awareness of.  This means that it might know how to perform some transformations and/or can be replaced by a single opcode on some hardware.  So the implementation you see in code may not be ever executed.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
80  
81  
82  
83  
84  
85  
86  
87  
88  
89  
90  
91  
92  
93  
94  
95  
96  
97  
98  
99  
100  
101  
102  
103  
104  
105  
106  
107  
108  
109  
110  
111  
112  
113  
114  
115  
116  
117  
118  
119  
120  
121  
122  
123  
124  
125  
126  
127  
128  
129  
130  
131  
132  
133  
134  
135  
136  
137  
138  
139  
140  
141  
142  
143  
144  
145  
146  
147  
148  
149  
150  
151  
152  
153  
154  
155  
156  
157  
158  
159  
160  
161  
162  
163  
164  
165  
166  
167  
168  
169  
170  
171  
172  
173  
174  
175  
176  
177  
178  
179  
180  
181  
182  
183  
184  
185  
186  
187  
188  
189  
190  
191  
192  
193  
194  
195  
196  
197  
java.lang.Object.hashCode();
java.lang.Object.getClass();
java.lang.Object.clone();

java.lang.Math.abs(double);
java.lang.Math.sin(double);
java.lang.Math.cos(double);
java.lang.Math.tan(double);
java.lang.Math.atan2(double, double);
java.lang.Math.sqrt(double);
java.lang.Math.log(double);
java.lang.Math.log10(double);
java.lang.Math.pow(double, double);
java.lang.Math.exp(double)
java.lang.Math.min(int, int);
java.lang.Math.max(int, int);

java.lang.Float.floatToRawIntBits(float);
java.lang.Float.floatToIntBits(float);
java.lang.Float.intBitsToFloat(int);

java.lang.Double.doubleToRawLongBits(double);
java.lang.Double.doubleToLongBits(double);
java.lang.Double.longBitsToDouble(long);

java.lang.Integer.numberOfLeadingZeros(int);
java.lang.Long.numberOfLeadingZeros(long);

java.lang.Integer.numberOfTrailingZeros(int);
java.lang.Long.numberOfTrailingZeros(long);

java.lang.Integer.bitCount(int);
java.lang.Long.bitCount(long);

java.lang.Integer.reverseBytes(int);
java.lang.Long.reverseBytes(long);
java.lang.Character.reverseBytes(char);
java.lang.Short.reverseBytes(short);

java.lang.System.identityHashCode(Object);
java.lang.System.currentTimeMillis();
java.lang.System.nanoTime();
java.lang.System.arraycopy(....);
java.lang.Thread.isInterrupted(....);
java.lang.Thread.currentThread();

java.lang.Class.isAssignableFrom(Class)
java.lang.Class.isInstance(Object)
java.lang.Class.getModifiers()
java.lang.Class.isInterface()
java.lang.Class.isArray()
java.lang.Class.isPrimitive()
java.lang.Class.getSuperclass()
java.lang.Class.getComponentType()

sun.reflect.Reflection.getClassAccessFlags(Class)
java.lang.reflect.Array.getLength(Object)

sun.reflect.Reflection.getCallerClass()

java.lang.reflect.Array.newArray

java.util.Arrays.copyOf

java.util.Arrays.copyOfRange
java.util.Arrays.equals
java.lang.String.compareTo(String)
java.lang.String.indexOf
java.lang.String.equals(Object)
java.nio.Buffer.checkIndex(int)

java.lang.ref.Reference.get()

sun.misc.AtomicLongCSImpl.get()
sun.misc.AtomicLongCSImpl.attemptUpdate

sun.misc.Unsafe.allocateInstance
sun.misc.Unsafe.copyMemory
sun.misc.Unsafe.park
sun.misc.Unsafe.unpark

sun.misc.Unsafe.getObject
sun.misc.Unsafe.getBoolean
sun.misc.Unsafe.getByte
sun.misc.Unsafe.getShort
sun.misc.Unsafe.getChar
sun.misc.Unsafe.getInt
sun.misc.Unsafe.getLong
sun.misc.Unsafe.getFloat
sun.misc.Unsafe.getDouble
sun.misc.Unsafe.putObject
sun.misc.Unsafe.putBoolean
sun.misc.Unsafe.putByte
sun.misc.Unsafe.putShort
sun.misc.Unsafe.putChar
sun.misc.Unsafe.putInt
sun.misc.Unsafe.putLong
sun.misc.Unsafe.putFloat
sun.misc.Unsafe.putDouble
sun.misc.Unsafe.getObjectVolatile
sun.misc.Unsafe.getBooleanVolatile
sun.misc.Unsafe.getByteVolatile
sun.misc.Unsafe.getShortVolatile
sun.misc.Unsafe.getCharVolatile
sun.misc.Unsafe.getIntVolatile
sun.misc.Unsafe.getLongVolatile
sun.misc.Unsafe.getFloatVolatile
sun.misc.Unsafe.getDoubleVolatile
sun.misc.Unsafe.putObjectVolatile
sun.misc.Unsafe.putBooleanVolatile
sun.misc.Unsafe.putByteVolatile
sun.misc.Unsafe.putShortVolatile
sun.misc.Unsafe.putCharVolatile
sun.misc.Unsafe.putIntVolatile
sun.misc.Unsafe.putLongVolatile
sun.misc.Unsafe.putFloatVolatile
sun.misc.Unsafe.putDoubleVolatile
sun.misc.Unsafe.getByte
sun.misc.Unsafe.getShort
sun.misc.Unsafe.getChar
sun.misc.Unsafe.getInt
sun.misc.Unsafe.getLong
sun.misc.Unsafe.getFloat
sun.misc.Unsafe.getDouble
sun.misc.Unsafe.getAddress
sun.misc.Unsafe.putByte
sun.misc.Unsafe.putShort
sun.misc.Unsafe.putChar
sun.misc.Unsafe.putInt
sun.misc.Unsafe.putLong
sun.misc.Unsafe.putFloat
sun.misc.Unsafe.putDouble
sun.misc.Unsafe.putAddress
sun.misc.Unsafe.compareAndSwapObject
sun.misc.Unsafe.compareAndSwapLong
sun.misc.Unsafe.compareAndSwapInt
sun.misc.Unsafe.putOrderedObject
sun.misc.Unsafe.putOrderedLong
sun.misc.Unsafe.putOrderedInt
sun.misc.Unsafe.prefetchRead
sun.misc.Unsafe.prefetchWrite
sun.misc.Unsafe.prefetchReadStatic
sun.misc.Unsafe.prefetchWriteStatic

java.lang.Throwable.fillInStackTrace

java.lang.StringBuilder, object.initializer, void.method.signature
java.lang.StringBuilder, object.initializer, int.void.signature
java.lang.StringBuilder, object.initializer, string.void.signature

java.lang.StringBuilder.append(char)
java.lang.StringBuilder.append(int)
java.lang.StringBuilder.append(String)
java.lang.StringBuilder.toString()

java.lang.StringBuffer, object.initializer, void.method.signature
java.lang.StringBuffer, object.initializer, int.void.signature
java.lang.StringBuffer, object.initializer, string.void.signature
java.lang.StringBuffer.append(char)
java.lang.StringBuffer.append(int)
java.lang.StringBuffer.append(String)
java.lang.StringBuffer.toString()

java.lang.Integer.toString(int)

java.lang.String, object.initializer, string.void.signature
java.lang.Object, object.initializer, void.method.signature

java.lang.reflect.Method.invoke, object.object.array.object.signature

java.lang.invoke.MethodHandleNatives, checkSpreadArgument, checkSpreadArgument.signature
java.lang.invoke.MethodHandle, invokeExact,   object.array.object.signature
java.lang.invoke.MethodHandle, invokeGeneric, object.array.object.signature
java.lang.invoke.MethodHandle, invokeVarargs, object.array.object.signature
java.lang.invoke.InvokeDynamic, star,         object.array.object.signature

java.lang.invoke.MethodHandleImpl.selectAlternative, selectAlternative.signature

/* unboxing methods: */
java.lang.Boolean.booleanValue
java.lang.Byte.byteValue
java.lang.Character.charValue
java.lang.Short.shortValue
java.lang.Integer.intValue
java.lang.Long.longValue
java.lang.Float.floatValue
java.lang.Double.doubleValue

/* boxing methods: */
java.lang.Boolean.valueOf
java.lang.Byte.valueOf
java.lang.Character.valueOf
java.lang.Short.valueOf
java.lang.Integer.valueOf
java.lang.Long.valueOf
java.lang.Float.valueOf
java.lang.Double.valueOf
This wiki entry has had 2 revisions with contributions from 2 members. (more info)
Pages: [1]
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Mr.CodeIt (24 views)
2014-12-23 03:34:11

rwatson462 (55 views)
2014-12-15 09:26:44

Mr.CodeIt (46 views)
2014-12-14 19:50:38

BurntPizza (91 views)
2014-12-09 22:41:13

BurntPizza (113 views)
2014-12-08 04:46:31

JscottyBieshaar (83 views)
2014-12-05 12:39:02

SHC (92 views)
2014-12-03 16:27:13

CopyableCougar4 (102 views)
2014-11-29 21:32:03

toopeicgaming1999 (161 views)
2014-11-26 15:22:04

toopeicgaming1999 (164 views)
2014-11-26 15:20:36
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!