Christian Thalinger
5e35df892d
7011839: JSR 292 turn on escape analysis when using invokedynamic
...
Currently escape analysis is turned off when EnableInvokeDynamic is true.
Reviewed-by: jrose, kvn
2011-01-20 08:25:22 -08:00
Keith McGuigan
272d7eaffc
7012505: BreakpointWithFullGC.sh fails with Internal Error (src/share/vm/oops/methodOop.cpp:220)
...
Rebuild breakpoint cache at gc_epilogue instead of during oops_do
Reviewed-by: dcubed, ysr, coleenp
2011-01-19 13:51:53 -08:00
Daniel D. Daugherty
3f77a1ee13
Merge
2011-01-19 07:15:09 -08:00
Tom Rodriguez
423f587b01
4926272: methodOopDesc::method_from_bcp is unsafe
...
Reviewed-by: coleenp, jrose, kvn, dcubed
2011-01-13 22:15:41 -08:00
Igor Veresov
a9bee9ec34
Merge
2010-12-08 17:50:49 -08:00
Igor Veresov
ab725dba1d
7003554: (tiered) assert(is_null_object() || handle() != NULL) failed: cannot embed null pointer
...
C1 with profiling doesn't check whether the MDO has been really allocated, which can silently fail if the perm gen is full. The solution is to check if the allocation failed and bailout out of inlining or compilation.
Reviewed-by: kvn, never
2010-12-02 17:21:12 -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
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
Vladimir Kozlov
22c924061d
6839891: Array overrun in vm ci
...
Fix index check
Reviewed-by: never
2010-11-09 17:31:18 -08:00
Christian Thalinger
0e4ed251b8
6829194: JSR 292 needs to support compressed oops
...
Reviewed-by: kvn, jrose
2010-10-11 04:18:58 -07:00
Christian Thalinger
595eda12a4
7010913: JSR 292 ciMethodHandle does not handle MethodHandleCompiler exceptions properly
...
Reviewed-by: kvn, never
2011-01-10 03:58:07 -08:00
Igor Veresov
32ebbc92ec
6989368: Regression in scimark2.MonteCarlo in jdk7_b112 on Linux
...
Fix ciMethod::instructions_size() to return correct value
Reviewed-by: kvn, twisti
2010-10-05 00:19:21 -07:00
Christian Thalinger
79847991ad
6986944: JSR 292 assert(caller_nm->is_method_handle_return(caller_frame.pc())) failed: must be MH call site
...
Reviewed-by: never, kvn
2010-09-24 03:51:43 -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
Christian Thalinger
a4b2fe3b1c
6978355: renaming for 6961697
...
This is the renaming part of 6961697 to keep the actual changes small for review.
Reviewed-by: kvn, never
2010-08-25 05:27:54 -07:00
Vladimir Kozlov
3756a7daa9
6896381: CTW fails share/vm/ci/bcEscapeAnalyzer.cpp:99, assert(_stack_height < _max_stack,"stack overflow")
...
Check constant Tag type instead of calling get_constant().
Reviewed-by: never
2010-08-23 09:09:36 -07:00
Gary Benson
d7310fb0f7
6976186: integrate Shark HotSpot changes
...
Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure.
Reviewed-by: kvn, twisti
2010-08-11 05:51:21 -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
Vladimir Kozlov
3fbdd52bdf
6969569: assert(is_static() && is_constant()) failed: illegal call to constant_value()
...
Add missing is_static guard.
Reviewed-by: twisti
2010-07-23 10:07:46 -07:00
John R Rose
7e34622217
6969574: invokedynamic call sites deoptimize instead of executing
...
Reviewed-by: kvn
2010-07-16 18:14:19 -07:00
Vladimir Kozlov
2b339c9319
6968368: SIGSEGV in the BCEscapeAnalyzer::copy_dependencies
...
Use GrowableArray and VectorSet allocated in ciEnv arena.
Reviewed-by: never, twisti
2010-07-14 14:47:34 -07:00
Tom Rodriguez
d3c3800a29
6958668: repeated uncommon trapping for new of klass which is being initialized
...
Reviewed-by: kvn, jrose
2010-07-12 10:58:25 -07:00
John R Rose
c8359c3738
6960865: ldc of unloaded class throws an assert in ciTypeFlow
...
Support java_mirror for unloaded klasses, arrays as well as instances. Simplify ciTypeFlow by removing unused path.
Reviewed-by: kvn
2010-06-12 22:53:43 -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
John R Rose
d6a9b93b5a
Merge
2010-06-02 22:45:42 -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
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
Christian Thalinger
2e24ba80e9
6930772: JSR 292 needs to support SPARC C1
...
C1 for SPARC needs to support JSR 292.
Reviewed-by: never, jrose
2010-05-21 02:59:24 -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
Tom Rodriguez
eb534d777a
6943485: JVMTI always on capabilities change code generation too much
...
Reviewed-by: twisti, dcubed
2010-04-26 23:59:45 -07:00
Abhijit Saha
0610f6846b
Merge
2010-04-06 22:06:57 -07:00
Vladimir Kozlov
8e1f408216
6939804: ciConstant::print() prints incorrect bool value
...
Fix typo.
Reviewed-by: never
2010-04-02 11:55:00 -07:00
Abhijit Saha
845f11dd17
Merge
2010-03-24 17:16:33 -07:00
Karen Kinnear
d8ec453382
6932480: Fix crash in CompilerThread/Parser. Unloaded array klass?
...
Restore code deleted in 6626217
Reviewed-by: asaha, kevinw
2010-03-15 15:51:36 -04:00
Christian Thalinger
ffec4c00c4
6919934: JSR 292 needs to support x86 C1
...
This implements JSR 292 support for C1 x86.
Reviewed-by: never, jrose, kvn
2010-03-09 20:16:19 +01:00
Vladimir Kozlov
9110d86267
Merge
2010-02-12 15:27:36 -08:00
Vladimir Kozlov
2fd8d35905
6923002: assert(false,"this call site should not be polymorphic")
...
Clear the total count when a receiver information is cleared.
Reviewed-by: never, jrose
2010-02-07 12:15:06 -08:00
Andrei Pangin
134e70e53b
Merge
2010-02-04 15:50:59 -08:00
Vladimir Kozlov
0c27c5537e
6614597: Performance variability in jvm2008 xml.validation
...
Fix incorrect marking of methods as not compilable.
Reviewed-by: never
2010-02-01 16:49:49 -08:00
Tom Deneau
f23b68b367
6902182: 4/4 Starting with jdwp agent should not incur performance penalty
...
Rename can_post_exceptions support to can_post_on_exceptions. Add support for should_post_on_exceptions flag to permit per JavaThread optimizations.
Reviewed-by: never, kvn, dcubed
2010-02-01 17:35:05 -07:00
Eric Caspole
a57d68e35b
4360113: Evict nmethods when code cache gets full
...
Speculatively unload the oldest nmethods when code cache gets full.
Reviewed-by: never, kvn
2010-01-29 09:27:22 -08:00
Karen Kinnear
8101e71766
6626217: Fixed loader constraint array handling
...
Loader constraints track array elements, not arrays themselves.
Reviewed-by: dcubed, kevinw
2010-01-19 16:03:09 -05:00
John R Rose
8214fc3a3b
6912065: final fields in objects need to support inlining optimizations for JSR 292
...
Reviewed-by: twisti, kvn
2010-01-13 23:05:52 -08: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
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
Christian Thalinger
375527d84e
6829187: compiler optimizations required for JSR 292
...
C2 implementation for invokedynamic support.
Reviewed-by: kvn, never
2010-01-05 13:05:58 +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
Erik Trimble
4909043745
Merge
2009-12-23 03:12:16 -08:00