Tom Rodriguez
6e8a263a06
7017732: move static fields into Class to prepare for perm gen removal
...
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -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
Keith McGuigan
fac0855180
6845426: non-static <clinit> method with no args is called during the class initialization process
...
Only call <clinit> with ACC_STATIC for classfiles with version > 50
Reviewed-by: acorn, dholmes, coleenp
2011-03-04 14:40:46 -05:00
Y. Srinivas Ramakrishna
7eccb460db
6912621: iCMS: Error: assert(_markBitMap.isMarked(addr + 1),"Missing Printezis bit?")
...
Fix block_size_if_printezis_bits() so it does not expect the bits, only uses them when available. Fix block_size_no_stall() so it does not stall when the bits are missing such cases, letting the caller deal with zero size returns. Constant pool cache oops do not need to be unparsable or conc_unsafe after their klass pointer is installed. Some cosmetic clean-ups and some assertion checking for conc-usafety which, in the presence of class file redefinition, has no a-priori time boundedness, so all GCs must be able to safely deal with putatively conc-unsafe objects in a stop-world pause.
Reviewed-by: jmasa, johnc
2011-02-07 22:19:57 -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
Christian Thalinger
e970ef6182
7008165: Garbage in ClassFormatError message
...
When bootstrap_method_ref in BootstrapMethods attribute points to a wrong CP entry (non-MethodHandle), JVM throws ClassFormatError with a message, where method index and class file name is garbage.
Reviewed-by: iveresov
2010-12-21 04:37:30 -08:00
John R Rose
cc7c58e166
7001379: bootstrap method data needs to be moved from constant pool to a classfile attribute
...
Reviewed-by: twisti
2010-12-03 15:53:57 -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
Igor Veresov
39ef076af4
Merge
2010-11-08 14:33:48 -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
Christian Thalinger
336fbd6d7f
6994630: java/lang/instrument/IsModifiableClassAgent.java fails with -XX:+EnableInvokeDynamic
...
The logic of ClassFileParser::java_dyn_MethodHandle_fix_pre needs to take care of an already changed vmentry signature.
Reviewed-by: never, jrose
2010-10-28 00:48:18 -07:00
Keith McGuigan
e36f1e36eb
6891959: HotSpot should not throw ClassFormatError if a class has a field with '>' and/or '<' in its name
...
Class file parser needs to look for and disallow '[' in names.
Reviewed-by: coleenp, never
2010-10-26 14:08:49 -04:00
Christian Thalinger
e870866699
6991065: missed a review comment in 6829194
...
Reviewed-by: kvn
2010-10-12 02:21:06 -07:00
Christian Thalinger
0e4ed251b8
6829194: JSR 292 needs to support compressed oops
...
Reviewed-by: kvn, jrose
2010-10-11 04:18:58 -07:00
Vladimir Kozlov
5bed80aab9
6973963: SEGV in ciBlock::start_bci() with EA
...
Added more checks into ResourceObj and growableArray to verify correctness of allocation type.
Reviewed-by: never, coleenp, dholmes
2010-08-03 15:55:03 -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
998865b735
Merge
2010-06-15 15:57:36 -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
Coleen Phillimore
d64aeff387
Merge
2010-06-04 17:44:51 -04: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
Keith McGuigan
211a79fc65
6930553: classfile format checker allows invalid method descriptor in CONSTANT_NameAndType_info in some cases
...
Check NameAndType_info signatures aggressively, even when unreferenced
Reviewed-by: coleenp, acorn, never
2010-05-27 17:06:39 -04:00
John R Rose
71599d89d4
Merge
2010-05-11 15:19:19 -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
John Coomes
99196ff9ca
6888954: argument formatting for assert() and friends
...
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
2010-04-22 13:23:15 -07:00
Vladimir Kozlov
629d139cac
6940733: allocate non static oop fields in super and sub classes together
...
Use FieldsAllocationStyle=2 to allocate non static oop fields in super and sub classes together
Reviewed-by: twisti
2010-04-07 10:35:56 -07:00
Igor Veresov
5bec0d60ab
Merge
2010-01-06 22:21:39 -08: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
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
Erik Trimble
4909043745
Merge
2009-12-23 03:12:16 -08:00
Xiaobin Lu
ad61b86753
6899467: System property java.class.version out-of-sync with VM for jdk 5.0 with HS 16 in nightly build
...
Reviewed-by: kvn, never, dholmes, ysr
2009-12-16 13:16:08 -08:00
Christian Thalinger
fae9c37803
6829192: JSR 292 needs to support 64-bit x86
...
Changes for method handles and invokedynamic
Reviewed-by: kvn
2009-12-16 12:48:04 +01:00
Daniel D. Daugherty
2a4f284029
6419370: 4/4 new jmethodID code has tiny holes in synchronization
...
Fix races in jmethodID cache and JNI itable index cache.
Reviewed-by: ikrylov, acorn
2009-09-21 09:30:24 -06:00
Karen Kinnear
9ed976194b
6879572: SA fails _is_marked_dependent not found
...
Reviewed-by: kamg, dcubed
2009-09-16 15:42:46 -04:00
Karen Kinnear
27286386e9
Merge
2009-09-16 09:10:57 -04:00
Karen Kinnear
488e99efd8
6830542: Performance: JVM_DefineClass already verified
...
Reviewed-by: kamg, phh
2009-09-04 12:53:02 -04:00
John Coomes
e7c70c499b
6845368: large objects cause a crash or unexpected exception
...
Reviewed-by: jmasa, iveresov
2009-08-13 16:22:45 -07:00
John Coomes
662adda5e6
6861660: OopMapBlock count/size confusion
...
Reviewed-by: tonyp, iveresov
2009-08-11 15:37:23 -07:00
Coleen Phillimore
3e69a71772
Merge
2009-07-27 17:23:52 -04: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
Mandy Chung
08f5aeffc1
6857194: Add hotspot perf counters to aid class loading performance measurement
...
Add new jvmstat counters to measure detailed class loading time
Reviewed-by: acorn, kamg
2009-07-10 11:10:00 -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
Karen Kinnear
101468324d
6603316: Improve instrumentation for classes loaded at startup
...
Reviewed-by: xlu, mchung
2009-03-25 13:09:28 -04:00
Karen Kinnear
25de21d620
4766230: Hotspot vtable inconsistencies cause core dumps. 6579515. 6582242
...
Reviewed-by: kamg, coleenp
2009-03-18 17:20:57 -04: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
Jon Masamitsu
c2ff9781c7
6692899: CMS: many vm.parallel_class_loading tests fail with assert "missing Printezis mark"
...
The CMS concurrent precleaning and concurrent marking phases should work around classes that are undergoing redefinition.
Reviewed-by: ysr, dcubed
2009-01-11 16:58:24 -08:00
John R Rose
e50f766540
6779339: turn off LinkWellKnownClasses by default pending further testing
...
Temporarily turn off LinkWellKnownClasses optimization
Reviewed-by: never, kvn
2008-12-08 17:15:02 -08:00
John R Rose
849e0ffb04
6653858: dynamic languages need to be able to load anonymous classes
...
Low-level privileged sun.misc.Unsafe.defineAnonymousClass
Reviewed-by: kvn
2008-11-12 22:33:26 -08: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
Keith McGuigan
d58beaefde
Merge
2008-06-06 13:43:36 -04:00