John R Rose
1f4cfb029b
6939203: JSR 292 needs method handle constants
...
Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType; extend 'ldc' bytecode.
Reviewed-by: twisti, never
2010-06-09 18:50:45 -07:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
John R Rose
4eb75c2df3
6939134: JSR 292 adjustments to method handle invocation
...
Split MethodHandle.invoke into invokeExact and invokeGeneric; also clean up JVM-to-Java interfaces
Reviewed-by: twisti
2010-05-01 02:42:18 -07:00
Hiroshi Yamauchi
cd48f31efe
6946040: add intrinsic for short and char reverseBytes
...
Reviewed-by: never, twisti
2010-04-26 11:27:21 -07:00
Igor Veresov
5bec0d60ab
Merge
2010-01-06 22:21:39 -08:00
Christian Thalinger
47f2433a58
6893268: additional dynamic language related optimizations in C2
...
C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance.
Reviewed-by: kvn, never
2010-01-05 15:21:25 +01:00
Christian Thalinger
caf28727eb
6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164)
...
During the work for 6829187 we have fixed a number of basic bugs which are logically grouped with 6815692 and 6858164 but which must be reviewed and pushed separately.
Reviewed-by: kvn, never
2010-01-04 18:38:08 +01:00
Christian Thalinger
3a896a1408
6894206: JVM needs a way to traverse method handle structures
...
We need a way to walk chained method handles in the JVM to call the right methods and to generate required bytecode adapters for the compilers.
Reviewed-by: kvn
2010-01-04 15:52:40 +01:00
Erik Trimble
4909043745
Merge
2009-12-23 03:12:16 -08:00
Mandy Chung
b409d16477
6888880: JKernel VM to inject the sun.jkernel.DownloadManager as a boot classloader hook
...
Call sun.jkernel.DownloadManager.setBootClassLoaderHook during the kernel VM initialization
Reviewed-by: alanb, coleenp, acorn
2009-11-25 08:37:04 -08:00
Tom Rodriguez
9db2092b1b
6892658: C2 should optimize some stringbuilder patterns
...
Reviewed-by: kvn, twisti
2009-11-12 09:24:21 -08:00
John R Rose
903247cf85
6858164: invokedynamic code needs some cleanup (post-6655638)
...
Fix several crashers, remove needless paths for boxed-style bootstrap method call, refactor & simplify APIs for rewriter constantPoolOop, remove sun.dyn.CallSiteImpl
Reviewed-by: kvn
2009-10-30 16:22:59 -07:00
John R Rose
6515225d49
6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
...
Remove useless lazy evaluation of intrinsics; add LAST_COMPILER_INLINE to help categorize them
Reviewed-by: kvn
2009-07-21 16:56:06 -07:00
Christian Thalinger
6a270f9f19
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
...
These methods can be instrinsified by using bit scan, bit test, and population count instructions.
Reviewed-by: kvn, never
2009-05-06 00:27:52 -07:00
John R Rose
34c1d72421
6655646: dynamic languages need dynamically linked call sites
...
Invokedynamic instruction (JSR 292 RI)
Reviewed-by: twisti, never
2009-04-21 23:21:04 -07:00
John R Rose
ce0c084720
6655638: dynamic languages need method handles
...
Initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.)
Reviewed-by: kvn, twisti, never
2009-04-08 10:56:49 -07:00
Changpeng Fang
c0d62ad9e6
6761600: Use sse 4.2 in intrinsics
...
Use SSE 4.2 in intrinsics for String.{compareTo/equals/indexOf} and Arrays.equals.
Reviewed-by: kvn, never, jrose
2009-03-31 14:07:08 -07:00
Vladimir Kozlov
aee9449305
Merge
2009-03-31 10:02:01 -07:00
Vladimir Kozlov
705188bb7b
6821700: tune VM flags for peak performance
...
Tune C2 flags default values for performance.
Reviewed-by: never, phh, iveresov, jmasa, ysr
2009-03-30 18:19:31 -07:00
Paul Hohensee
5231fcdc40
6810653: Change String cache class used by Hotspot from String to StringValue
...
Change create_vm() to load and initialize StringValue rather than String.
Reviewed-by: kvn
2009-03-24 21:56:53 -04:00
Karen Kinnear
472349069b
Merge
2009-03-23 10:42:20 -04:00
Karen Kinnear
fba4182589
6819853: VM does not detect JDK which supports parallel class loaders
...
Reviewed-by: coleenp, pbk, xlu, alanb
2009-03-20 11:23:24 -04:00
Christian Thalinger
de67e52949
6378821: bitCount() should use POPC on SPARC processors and AMD+10h
...
BitCount() should use POPC on SPARC processors where POPC is implemented directly in hardware.
Reviewed-by: kvn, never
2009-03-13 11:35:17 -07:00
Xiomara Jayasena
2be2e027b0
6814575: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 03/09
Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:46 -07:00
Karen Kinnear
315de68fc0
4670071: loadClassInternal is too restrictive
...
VM support for deadlock fix. Library fix in 4735126. See API proposal.
Reviewed-by: dholmes, blacklion
2009-01-05 13:44:03 -05:00
Xiomara Jayasena
c96a95c4b8
6719955: Update copyright year
...
Update copyright year for files that have been modified in 2008
Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Vladimir Kozlov
afbdf29629
6714404: Add UseStringCache switch to enable String caching under AggressiveOpts
...
Poke String.stringCacheEnabled during vm initialization
Reviewed-by: never
2008-06-13 14:49:07 -07:00
Chuck Rasbold
2e672ac9bf
6695049: (coll) Create an x86 intrinsic for Arrays.equals
...
Intrinsify java/util/Arrays.equals(char[], char[])
Reviewed-by: kvn, never
2008-05-29 16:22:09 -07:00
Vladimir Kozlov
b64d5e4209
6667615: (Escape Analysis) extend MDO to cache arguments escape state
...
Use MDO to cache arguments escape state determined by the byte code escape analyzer.
Reviewed-by: never
2008-03-11 19:00:38 -07:00
Paul Hohensee
4abbae1fc2
6621621: HashMap front cache should be enabled only with AggressiveOpts
...
Reviewed-by: sbohne, xlu
2007-12-05 09:02:00 -08:00
Tom Rodriguez
10c473e425
6395208: Elide autoboxing for calls to HashMap.get(int) and HashMap.get(long)
...
Reviewed-by: kvn, rasbold
2007-12-05 09:01:00 -08:00
J. Duke
8153779ad3
Initial load
2007-12-01 00:00:00 +00:00