David Chase
78f1afbf45
8016839: JSR292: AME instead of IAE when calling a method
...
Catch missing-because-illegal case for itable entries and use an exception-throwing method instead of null.
Reviewed-by: acorn, jrose, coleenp
2013-11-26 18:16:04 -05:00
Yumin Qi
7496b461e3
8025632: Remove all references to MagicLambdaImpl from Hotspot
...
MagicLambdaImpl was removed from jdk side, this should be done in vm side too
Reviewed-by: coleenp, hseigel, rdurbin
2013-11-13 16:24:33 -08:00
David Holmes
33d6b93e22
8026877: Error in opening JAR file when invalid jar specified with -Xbootclasspath/a on OpenJDK build
...
Reviewed-by: coleenp, twisti
2013-10-24 00:33:14 -04:00
Serguei Spitsyn
4974d1aef2
7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments
...
Restore the appendix argument after PopFrame() call
Reviewed-by: twisti, coleenp
2013-08-06 16:33:59 -07:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Coleen Phillimore
7a409b13e0
8005056: NPG: Crash after redefining java.lang.Object
...
Need to walk array class vtables replacing old methods too if j.l.o redefined
Reviewed-by: sspitsyn, dcubed, ctornqvi
2013-05-13 15:37:08 -04:00
Bharadwaj Yadavalli
4b9150eaf7
Merge
2013-04-04 17:01:34 -07:00
Karen Kinnear
b79e2c6803
8009731: Confusing error message for loader constraint violation
...
Fix text, overwritten type and holder for resolved method
Reviewed-by: coleenp, dcubed, minqi, dholmes
2013-03-27 14:10:59 -04:00
Christian Thalinger
6964a690ed
7198429: need checked categorization of caller-sensitive methods in the JDK
...
Reviewed-by: kvn, jrose
2013-03-25 17:13:26 -07:00
Ioi Lam
6f76ade8e1
8007725: NPG: Klass::restore_unshareable_info() triggers assert(k->java_mirror() == NULL)
...
Check for exception during SystemDictionary::resolve_instance_class_or_null() and clean up.
Reviewed-by: coleenp, acorn, hseigel, minqi
2013-03-15 17:24:40 -04:00
Zhengyu Gu
fc0efc91c8
8000692: Remove old KERNEL code
...
Removed depreciated kernel VM source code from hotspot VM
Reviewed-by: dholmes, acorn
2013-01-25 10:04:08 -05:00
Eric Mccorkle
be968245ec
8004728: Add hotspot support for parameter reflection
...
Add hotspot support for parameter reflection
Reviewed-by: acorn, jrose, coleenp
2013-01-08 14:01:36 -05:00
Coleen Phillimore
7aa43fc5d8
8000662: NPG: nashorn ant clean test262 out-of-memory with Java heap
...
Add ClassLoaderData object for each anonymous class with metaspaces to allocate in.
Reviewed-by: twisti, jrose, stefank
2012-11-29 16:50:29 -05:00
Keith McGuigan
6563cda42b
7200776: Implement default methods in interfaces
...
Add generic type analysis and default method selection algorithms
Reviewed-by: coleenp, acorn
2012-10-11 12:25:42 -04:00
Christian Thalinger
222b2457ed
8000740: remove LinkWellKnownClasses
...
Reviewed-by: kvn, jrose
2012-10-11 14:46:20 -07:00
Christian Thalinger
7162ad011c
8000263: JSR 292: signature types may appear to be unloaded
...
Reviewed-by: kvn, jrose
2012-10-08 17:04:00 -07:00
Christian Thalinger
59b8489a0c
7200949: JSR 292: rubybench/bench/time/bench_base64.rb fails with jruby.jar not on boot class path
...
Reviewed-by: jrose, kvn
2012-10-01 14:50:10 -07:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Christian Thalinger
12901d0e5b
7023639: JSR 292 method handle invocation needs a fast path for compiled code
...
6984705: JSR 292 method handle creation should not go through JNI
Remove assembly code for JDK 7 chained method handles
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, kvn, mhaupt
2012-07-24 10:51:00 -07:00
Zhengyu Gu
a39b17624a
6995781: Native Memory Tracking (Phase 1)
...
7151532: DCmd for hotspot native memory tracking
Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Krystal Mok
529b370174
7174218: remove AtomicLongCSImpl intrinsics
...
Reviewed-by: kvn, twisti
2012-06-12 14:31:44 -07:00
Karen Kinnear
ce074f86c3
7114376: Make system dictionary hashtable bucket array size configurable
...
7u4 new experimental flag -XX:PredictedClassLoadedCount=#
Reviewed-by: dholmes, phh, dcubed
2012-01-30 23:27:30 -05:00
Tom Rodriguez
e39ba1a5fe
7086585: make Java field injection more flexible
...
Reviewed-by: jrose, twisti, kvn, coleenp
2011-09-10 17:29:02 -07:00
Tom Rodriguez
32fd1b087d
7071307: MethodHandle bimorphic inlining should consider the frequency
...
Reviewed-by: twisti, roland, kvn, iveresov
2011-09-02 20:58:21 -07:00
Christian Thalinger
134c40b4db
7071653: JSR 292: call site change notification should be pushed not pulled
...
Reviewed-by: kvn, never, bdelsart
2011-08-16 04:14:05 -07:00
John R Rose
0ed03852e5
7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError
...
Delegate invokedynamic linkage errors to MethodHandleNatives.raiseException.
Reviewed-by: never
2011-06-01 23:25:20 -07:00
John R Rose
16784a72e8
6981791: remove experimental code for JSR 292
...
Reviewed-by: twisti
2011-04-07 17:02:30 -07:00
Christian Thalinger
c9e2dcda4b
6817525: turn on method handle functionality by default for JSR 292
...
After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default.
Reviewed-by: never, kvn, jrose, phh
2011-03-31 02:31:57 -07:00
John R Rose
f6344076f2
7012648: move JSR 292 to package java.lang.invoke and adjust names
...
Package and class renaming only; delete unused methods and classes
Reviewed-by: twisti
2011-03-11 22:34:57 -08:00
John R Rose
6146dffe45
6839872: remove implementation inheritance from JSR 292 APIs
...
Consolidate runtime support in java.dyn.MethodHandleNatives; include transitional compatibility logic
Reviewed-by: twisti
2011-03-11 22:33:47 -08:00
Coleen Phillimore
7b4f8073f0
6990754: Use native memory and reference counting to implement SymbolTable
...
Move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
Kevin Walls
b6d2068ee2
6994753: Implement optional hook to a Java method at VM startup
...
Reviewed-by: mchung, acorn
2011-01-12 15:44:16 +00:00
Christian Thalinger
36b4f60585
7001363: java/dyn/InvokeDynamic should not be a well-known class in the JVM
...
Because of the removal of language support, the JDK 7 API for JSR 292 no longer includes a public class named java/dyn/InvokeDynamic.
Reviewed-by: jrose, kvn
2010-11-30 09:53:04 -08:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
John R Rose
ce0125e7f2
6984311: JSR 292 needs optional bootstrap method parameters
...
Allow CONSTANT_InvokeDynamic nodes to have any number of extra operands.
Reviewed-by: twisti
2010-10-30 13:08:23 -07:00
John R Rose
52e3d262a1
6939224: MethodHandle.invokeGeneric needs to perform the correct set of conversions
...
Reviewed-by: never
2010-09-13 23:24:30 -07:00
John R Rose
a4e4149340
6964498: JSR 292 invokedynamic sites need local bootstrap methods
...
Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs.
Reviewed-by: twisti
2010-07-15 18:40:45 -07:00
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
973b1ef143
6939196: method handle signatures off the boot class path get linkage errors
...
Adjust MethodType lookup logic to search off the BCP, but not to cache those results
Reviewed-by: twisti
2010-05-01 21:57:35 -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
Christian Thalinger
e5fb2ad1c4
6914206: change way of permission checking for generated MethodHandle adapters
...
Put generated MH adapter in InvokeDynamic/MethodHandle classes to be able to indentify them easily in the compiler.
Reviewed-by: kvn, never, jrose
2010-01-08 11:09:46 +01:00
Tom Rodriguez
98449cf2c2
6914300: ciEnv should export all well known classes
...
Reviewed-by: kvn, twisti
2010-01-06 14:22:39 -08: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
Igor Veresov
b5e3a7a597
Merge
2009-12-01 22:11:01 -08:00
Karen Kinnear
8b3ec53033
Merge
2009-11-23 16:24:35 -05:00
Tom Rodriguez
9db2092b1b
6892658: C2 should optimize some stringbuilder patterns
...
Reviewed-by: kvn, twisti
2009-11-12 09:24:21 -08:00
Karen Kinnear
47748afed5
6893504: LinkageError for bootstrap duplicate class definitions
...
Reviewed-by: kamg, xlu
2009-11-11 15:49:38 -05: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
Karen Kinnear
488e99efd8
6830542: Performance: JVM_DefineClass already verified
...
Reviewed-by: kamg, phh
2009-09-04 12:53:02 -04:00