Christian Thalinger
51f5142db1
Merge
2011-03-18 01:44:15 -07:00
Daniel D. Daugherty
7c14db880f
Merge
2011-03-15 06:50:01 -07:00
Daniel D. Daugherty
c4e301bffa
7024970: 2/3 assert(ServiceThread::is_service_thread(Thread::current())) failed: Service thread must post enqueue
...
Change nmethod_lock() to also prevent zombification of the nmethod. CompiledMethodUnload events also need to lock the nmethod. Clean ups in nmethod::make_not_entrant_or_zombie()
Reviewed-by: dholmes, kamg, never, dsamersoff, ysr, coleenp, acorn
2011-03-15 06:37:31 -07:00
Paul Hohensee
f38a80b837
7023931: PcDescCache::find_pc_desc should not write _last_pc_desc
...
Remove _last_pc_desc and use pcdescs[0] instead.
Reviewed-by: dcubed, coleenp, ysr
2011-03-11 16:09:55 -05:00
Vladimir Kozlov
fd6487f201
7025742: Can not use CodeCache::unallocated_capacity() with fragmented CodeCache
...
Use largest_free_block() instead of unallocated_capacity().
Reviewed-by: iveresov, never, ysr
2011-03-09 09:15:16 -08:00
Tom Rodriguez
dcfa5e385a
7024866: # assert(limit == NULL || limit <= nm->code_end()) failed: in bounds
...
Reviewed-by: kvn, iveresov
2011-03-04 20:01:48 -08:00
Christian Thalinger
cd6c0b147e
7012914: JSR 292 MethodHandlesTest C1: frame::verify_return_pc(return_address) failed: must be a return pc
...
Reviewed-by: never, bdelsart
2011-02-28 06:07:12 -08:00
Keith McGuigan
8a44936bb0
6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
...
Defer posting events from the compiler thread: use service thread
Reviewed-by: coleenp, dholmes, never, dcubed
2011-02-02 14:38:01 -05: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
Tom Rodriguez
423f587b01
4926272: methodOopDesc::method_from_bcp is unsafe
...
Reviewed-by: coleenp, jrose, kvn, dcubed
2011-01-13 22:15:41 -08:00
Christian Thalinger
84f5de835b
Merge
2011-01-07 03:41:07 -08:00
Christian Thalinger
135eaf7e21
6990933: assert(sender_cb) failed: sanity in frame::sender_for_interpreter_frame
...
Reviewed-by: never
2010-12-18 01:15:01 -08:00
Keith McGuigan
de27a1608c
7004582: Add GetThisObject() function to JVMTI 1.2
...
Add 'GetThisObject' function
Reviewed-by: never, coleenp
2010-12-09 15:04:26 -05: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
Gary Benson
a10ec19a4d
6990549: Zero and Shark fixes after 6978355 and 6953144
...
Reviewed-by: twisti
2010-10-08 02:42:17 -07:00
Igor Veresov
34b016cb42
6982921: assert(_entry_bci != InvocationEntryBci) failed: wrong kind of nmethod
...
Assertion fails during print compilation because nmethod::print_on() calls osr_entry_bci() without checking that the method is an osr method. The fix adds an appropriate check.
Reviewed-by: never, twisti
2010-09-07 14:16:50 -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
6a0c40f1fe
6961697: move nmethod constants section before instruction section
...
This is a preparation for 6961690.
Reviewed-by: kvn, never
2010-08-27 01:51:27 -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
Tom Rodriguez
1d736d2851
6974176: ShouldNotReachHere, instanceKlass.cpp:1426
...
Reviewed-by: kvn, twisti
2010-08-12 16:38:23 -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
Christian Thalinger
c9ac8cc788
6975855: don't emit deopt MH handler in C1 if not required
...
This CR implements the same for C1 as 6926782 for C2.
Reviewed-by: never
2010-08-11 01:17:27 -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
Tom Rodriguez
fdaa7a673c
6656830: assert((*p)->is_oop(),"expected an oop while scanning weak refs")
...
Reviewed-by: dcubed, kvn, twisti
2010-06-21 14:26:17 -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
Tom Rodriguez
b26797f892
6956931: assert(SafepointSynchronize::is_at_safepoint()) failed: must be executed at a safepoint
...
Reviewed-by: kvn, dcubed
2010-06-02 14:23:23 -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
Christian Thalinger
c9f2ba541b
6951083: oops and relocations should part of nmethod not CodeBlob
...
This moves the oops from Codeblob to nmethod.
Reviewed-by: kvn, never
2010-05-20 06:34:23 -07:00
Eric Caspole
430574f398
6950075: nmethod sweeper should operate concurrently
...
Reviewed-by: never, kvn
2010-05-17 16:50:07 -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 Coomes
7e76feaf42
6888953: some calls to function-like macros are missing semicolons
...
Reviewed-by: pbk, kvn
2009-10-11 16:19:25 -07:00
Tom Rodriguez
98ee92e724
6939930: exception unwind changes in 6919934 hurts compilation speed
...
Reviewed-by: twisti
2010-04-15 18:14:49 -07:00
Vladimir Kozlov
22409a5704
6910618: C2: Error: assert(d->is_oop(),"JVM_ArrayCopy: dst not an oop")
...
Mark in PcDesc call sites which return oop and save the result oop across objects reallocation during deoptimization.
Reviewed-by: never
2010-02-09 01:31:13 -08:00
Tom Rodriguez
c1be36be1b
6920293: OptimizeStringConcat causing core dumps
...
Reviewed-by: kvn, twisti
2010-02-05 11:07:40 -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
Christian Thalinger
918c7a2e33
6921352: JSR 292 needs its own deopt handler
...
We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not.
Reviewed-by: never, jrose
2010-02-01 19:29:46 +01: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
Christian Thalinger
9aa675b7e6
6921339: backout 6917766
...
Reviewed-by: mr
2010-01-29 08:33:24 -08:00
Christian Thalinger
fbc43afae6
6917766: JSR 292 needs its own deopt handler
...
We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not.
Reviewed-by: never, jrose
2010-01-29 12:13:05 +01:00
John R Rose
fdbb64ef71
6912062: disassembler plugin needs to produce symbolic information in product mode
...
More informative disassembly in product mode. Also, a more consistent CompileCommand syntax.
Reviewed-by: never
2010-01-08 13:47:01 -08:00
Tom Rodriguez
0998a8591f
6914002: unsigned compare problem after 5057818
...
Reviewed-by: kvn, twisti
2010-01-05 16:12:26 -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
Tom Rodriguez
eb547a56a5
5057818: codecache full and compiler disabled in bigapps fastdebug run
...
Reviewed-by: kvn
2009-12-16 22:15:12 -08:00
John R Rose
eb73cf4739
6885169: merge of 4957990 and 6863023 causes conflict on do_nmethods
...
After mechanically merging changes, some by-hand adjustments are needed.
Reviewed-by: ysr
2009-09-23 23:57:44 -07:00
John R Rose
40d52710f6
Merge
2009-09-23 23:56:15 -07:00
John R Rose
e261aecad8
6863023: need non-perm oops in code cache for JSR 292
...
Make a special root-list for those few nmethods which might contain non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr
2009-09-15 21:53:47 -07:00
Andrey Petrusenko
9ae6fb796e
Merge
2009-09-04 05:31:37 -07:00
Changpeng Fang
ff9a1bddb5
6873116: Modify reexecute implementation to use pcDesc to record the reexecute bit
...
Use PcDesc to keep record of the reexecute bit instead of using DebugInfoStreams
Reviewed-by: kvn, never, twisti
2009-08-20 12:42:57 -07:00