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
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
Igor Veresov
a9bee9ec34
Merge
2010-12-08 17:50:49 -08:00
Staffan Larsen
1765b0fbf0
6539281: -Xcheck:jni should validate char* argument to ReleaseStringUTFChars
...
Tag allocated memory with a magic value and verify when releasing.
Reviewed-by: phh, stefank
2010-12-07 03:15:45 -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
4a33afe6c4
7003125: precompiled.hpp is included when precompiled headers are not used
...
Added an ifndef DONT_USE_PRECOMPILED_HEADER to precompiled.hpp. Set up DONT_USE_PRECOMPILED_HEADER when compiling with Sun Studio or when the user specifies USE_PRECOMPILED_HEADER=0. Fixed broken include dependencies.
Reviewed-by: coleenp, kvn
2010-12-01 15:04:06 +01:00
Ivan P Krylov
9802f91e66
6348631: remove the use of the HPI library from Hotspot
...
Move functions from hpi library to hotspot, communicate with licensees and open source community, check jdk for dependency, file CCC request
Reviewed-by: coleenp, acorn, dsamersoff
2010-12-01 18:26:32 -05: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
Zhengyu Gu
6fd53f05d1
Merge
2010-11-12 09:37:13 -05: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
596507e5d3
6865028: Illegal instructions passing verification prior to 'invokespecial Object.<init>'
...
Update verifier to conform to spec re: reference vs. 'Object' types
Reviewed-by: dholmes, coleenp
2010-10-27 12:53:36 -04: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
Keith McGuigan
c3401153c8
6991315: RedefineClasses fails with java.lang.VerifyError
...
Repair stackmap table attribute when relocating bytecode
Reviewed-by: acorn, never
2010-10-21 10:10:23 -04:00
Christian Thalinger
9cabdbf770
6990192: VM crashes in ciTypeFlow::get_block_for()
...
Reviewed-by: never
2010-10-19 02:52:57 -07: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
Keith McGuigan
9e9551fdd8
Merge
2010-09-22 12:54:51 -04:00
Keith McGuigan
bc7a44e595
6975210: java.lang.VerifyError in some of JCK tests
...
Naked oop in verificationType::is_reference_assignable_from()
Reviewed-by: never, kvn, coleenp
2010-09-20 15:38:04 -04:00
Vladimir Kozlov
5e98ce13ab
Merge
2010-09-16 16:48:40 -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
Igor Veresov
2c66a6c3fd
6953144: Tiered compilation
...
Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation.
Reviewed-by: kvn, never, phh, twisti
2010-09-03 17:51:07 -07:00
Keith McGuigan
c5ccd42ac0
6870851: Bad frame_chop in StackMapTable crashes JVM
...
Must check locals for null when processing chop frame
Reviewed-by: dholmes, dcubed
2010-09-03 14:47:05 -04:00
Tom Rodriguez
68ff9b2b00
Merge
2010-08-09 17:51:56 -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
Andrei Pangin
53ac035768
Merge
2010-07-25 07:31:50 -07:00
Andrei Pangin
3888d500b9
6964170: Verifier crashes
...
Check if klassOop != NULL rather than klass_part != NULL
Reviewed-by: kamg, never
2010-07-20 08:41:42 -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
Tom Rodriguez
7533d0caf7
6965184: possible races in make_not_entrant_or_zombie
...
Reviewed-by: kvn
2010-07-08 14:29:44 -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
John R Rose
d6a9b93b5a
Merge
2010-06-02 22:45:42 -07:00
Erik Trimble
98d775ab1f
Merge
2010-06-01 11:48:33 -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
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
05b4f2e796
6956164: nightly regressions from 6939207
...
Fix errors in 6939207.
Reviewed-by: kvn
2010-05-27 09:54:07 -07:00
John R Rose
581521ba96
6939207: refactor constant pool index processing
...
Factored cleanup of instruction decode which prepares for enhanced ldc semantics.
Reviewed-by: twisti
2010-05-23 01:38:26 -07:00
Keith McGuigan
4f45d8c3a2
6911922: JVM must throw VerifyError for jsr or jsr_w opcodes in class file v.51+
...
6693236: A class file whose version number is greater than to 50.0 must be verified using the typechecker
Disable failover verification for classfiles >= v51
Reviewed-by: never, acorn, dholmes
2010-05-19 10:19:10 -04:00
John R Rose
71599d89d4
Merge
2010-05-11 15:19:19 -07:00
Antonios Printezis
cc872846f5
Merge
2010-05-03 16:31:07 -04: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
Hiroshi Yamauchi
cd48f31efe
6946040: add intrinsic for short and char reverseBytes
...
Reviewed-by: never, twisti
2010-04-26 11:27:21 -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
John R Rose
01c5c9a34b
Merge
2010-04-08 17:45:20 -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
Abhijit Saha
845f11dd17
Merge
2010-03-24 17:16:33 -07:00