Christian Thalinger
9cabdbf770
6990192: VM crashes in ciTypeFlow::get_block_for()
...
Reviewed-by: never
2010-10-19 02:52:57 -07:00
Igor Veresov
6a80d2126c
4930919: race condition in MDO creation at back branch locations
...
Reuse set_method_data_for_bcp() to setup mdp after MDO creation.
Reviewed-by: kvn, never
2011-01-10 18:46:29 -08: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
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
Gary Benson
a325f5589a
6977640: Zero and Shark fixes
...
A number of fixes for Zero and Shark.
Reviewed-by: twisti
2010-08-18 01:22:16 -07:00
Bob Vandette
b95c7e9523
6953477: Increase portability and flexibility of building Hotspot
...
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
2010-08-03 08:13:38 -04: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
Vladimir Kozlov
9c7b430e11
6730276: JDI_REGRESSION tests fail with "Error: count must be non-zero" error on x86
...
Modify assembler code to check for 0 count for all copy routines.
Reviewed-by: never, ysr, jcoomes
2010-06-10 13:04:20 -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
John R Rose
be95b163a6
6957080: MethodComparator needs stress testing
...
Add a stress-test flag for running MethodComparator over many inputs. Fix bugs that crop up.
Reviewed-by: kvn
2010-05-29 19:22:32 -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
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
Michael Wilkerson
f0887dcc05
Merge
2010-05-19 20:16:16 -07:00
Phil Race
56be4c0b46
6953588: hotspot\src\share\vm\interpreter\bytecodes.cpp doesn't compile with VS2010 on AMD64
...
Reviewed-by: dcubed
2010-05-19 10:21:41 -07:00
John R Rose
71599d89d4
Merge
2010-05-11 15:19:19 -07:00
Gary Benson
416df6da75
6949423: remove tagged stack interpreter for Zero
...
Missed Zero changes for 6943304.
Reviewed-by: twisti
2010-05-04 02:33:59 -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
0211f9703a
6943304: remove tagged stack interpreter
...
Reviewed-by: coleenp, never, gbenson
2010-04-30 08:37:24 -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
Edward Nevill
8a72fb502e
6939845: zero needs fallback path in C++ interpreter for platform dependent fast bytecodes
...
Reviewed-by: never
2010-03-31 11:54:03 -07: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
Tom Rodriguez
72d0f638c7
6849984: Value methods for platform dependent math functions constant fold incorrectly
...
Reviewed-by: kvn, twisti
2010-01-15 11:53:33 -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
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
Gary Benson
63cc2211ed
6896043: first round of zero fixes
...
Reviewed-by: kvn
2009-11-27 07:56:58 -08:00
Christian Thalinger
e6547d1b20
6902000: use ShouldNotReachHere() for btos/ctos/stos in TemplateInterpreterGenerator::set_short_entry_points
...
Set_entry_point is only ever used with the tos states of bytecode templates in templateTable.cpp and none of those use the subword tos states like btos, ctos and stos.
Reviewed-by: kvn
2009-11-19 03:41:29 -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
Gary Benson
5473f394c6
6890308: integrate zero assembler hotspot changes
...
Reviewed-by: never
2009-10-13 12:04:21 -07:00
John Coomes
7e76feaf42
6888953: some calls to function-like macros are missing semicolons
...
Reviewed-by: pbk, kvn
2009-10-11 16:19:25 -07:00
Y. Srinivas Ramakrishna
c6763b5bad
4957990: Perm heap bloat in JVM
...
Treat ProfileData in MDO's as a source of weak, not strong, roots. Fixes the bug for stop-world collection -- the case of concurrent collection will be fixed separately.
Reviewed-by: jcoomes, jmasa, kvn, never
2009-09-02 00:04:29 -07:00
Vladimir Kozlov
ab7a29cdcc
Merge
2009-08-06 09:37:26 -07:00
Changpeng Fang
ae00753bf7
6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
...
Developed a reexecute logic for the interpreter to reexecute the bytecode when deopt happens
Reviewed-by: kvn, never, jrose, twisti
2009-07-31 17:12:33 -07:00
Erik Trimble
e846382e12
Merge
2009-07-29 16:00:35 -07:00
Xiomara Jayasena
a63ef10004
6862919: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 07/09
Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -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
Vladimir Kozlov
a1533dafce
6834142: method->print_codes(): Error: ShouldNotReachHere()
...
Restore the call to Bytecodes::java_code() in BytecodePrinter::print_attributes().
Reviewed-by: jrose
2009-04-27 12:45:14 -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
Coleen Phillimore
c8da21faa9
6805748: Assertion "don't reset to 0 -- could be mistaken for never-executed" in CompilationPolicy
...
Resetting the invocation counter for a method invocation event was setting count to zero for CompileThreshold=1, making it look like a never executed method.
Reviewed-by: phh, kamg, acorn, never
2009-03-20 22:08:48 -04:00
Erik Trimble
8d6035660e
Merge
2009-03-12 18:16:36 -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
Christian Thalinger
05d1de7727
6810672: Comment typos
...
I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never
2009-02-27 13:27:09 -08:00
Jon Masamitsu
39b23ff0a0
6792421: assert(_bitMap->isMarked(addr+size-1),inconsistent Printezis mark)
...
The CMS concurrent precleaning and concurrent marking phases should work around classes that are undergoing redefinition.
Reviewed-by: ysr, tonyp
2009-01-31 00:15:00 -08:00
Coleen Phillimore
a1442ea7ff
6791168: Fix invalid code in bytecodeInterpreter that can cause gcc ICE
...
Fix compilation errors from latest gcc in CC_INTERP including offending missing void* cast.
Reviewed-by: xlu
2009-01-13 14:41:44 -05:00