Albert Noll
ff3717e719
8040085: dtrace/jsdt tests crash on solaris. found an unadvertised bad scavengable oop in the code cache
...
Add CodeCache::add_scavenge_root_nmethod(this) to the dtrace-constructor of nmethod
Reviewed-by: roland, iveresov
2014-04-28 12:39:12 +02:00
Tobias Hartmann
d16c89c108
8041468: Field nmethod::_lock_count should be declared volatile
...
The jint field nmethod::_lock_count which is used in nmethodLocker::lock_nmethod and nmethodLocker::unlock_nmethod should be declared volatile (see also signature of Atomic::inc)
Reviewed-by: kvn, roland
2014-04-24 09:47:34 +02:00
Vladimir Kozlov
97a51c5c2a
8031320: Use Intel RTM instructions for locks
...
Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed
2014-03-20 17:49:27 -07:00
Nils Eliasson
f457cabe80
Merge
2014-03-11 11:26:14 -04:00
Albert Noll
e8bc971d19
8029799: vm/mlvm/anonloader/stress/oome prints warning: CodeHeap: # of free blocks > 10000
...
Double CodeCacheSegmentSize from 64 byte to 128 bytes if tiered compilation is enabled
Reviewed-by: kvn, twisti
2014-03-07 07:42:40 +01:00
Coleen Phillimore
1a95f3a409
8035735: Metaspace::contains become extremely slow in some cases
...
Call is_metadata instead which does less work for the call in debugInfo.hpp which is called for all compiled code stack frames.
Reviewed-by: jmasa, dcubed
2014-03-03 13:58:52 -05:00
Albert Noll
1258452546
Merge
2014-02-26 02:38:46 -08:00
Albert Noll
aa570e227c
8034839: jvm hangs with gc/gctests/LoadUnloadGC test
...
Provide fast lookup of checked dependencies via hashmap
Reviewed-by: kvn, roland
2014-02-26 11:29:47 +01:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Oleg Mazurov
50b13833fa
8025841: JVMTI: "vtable stub" dynamic code notification is misplaced
...
Generate correct "vtable stub" dynamic code notifications
Reviewed-by: sspitsyn, kvn, coleenp
2014-02-06 20:13:38 -08:00
Vladimir Kozlov
7d92dc4d79
Merge
2014-01-28 12:28:17 -08:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
Albert Noll
7722b3d097
8035946: Use ResourceHashtable for dependency checking
...
Use ResourceHashtable for dependency checking and delete GenericHashtable
Reviewed-by: kvn, coleenp
2014-03-03 08:04:14 +01:00
Vladimir Kozlov
6e8540ca72
Merge
2014-01-24 09:04:24 -08:00
Vladimir Kozlov
4200d0d095
Merge
2014-02-20 12:20:56 -08:00
Staffan Larsen
43b711ea78
8034080: Remove the USDT1 dtrace code from Hotspot
...
Reviewed-by: dholmes, coleenp
2014-02-18 09:15:40 +01:00
Vladimir Ivanov
91573b8695
8031695: CHA ignores default methods during analysis leading to incorrect code generation
...
Reviewed-by: jrose, acorn, hseigel, lfoltan
2014-01-23 01:23:23 +04:00
Morris Meyer
92d751996e
Merge
2014-01-17 10:43:43 -08:00
Albert Noll
2f84f7d5fc
7194669: CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times
...
Avoid verifying dependencies multiple times by caching verified dependencies
Reviewed-by: kvn, twisti, roland
2014-01-15 06:16:55 +01:00
Morris Meyer
a665235538
Merge
2014-01-10 12:54:08 -08:00
Christian Thalinger
0c84081c87
8026413: ScopeDesc::is_equal is declared in header file but not implemented
...
Reviewed-by: kvn
2014-01-09 18:09:59 -08:00
Coleen Phillimore
469f290817
8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace::contains
...
Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them.
Reviewed-by: mgerdin, sspitsyn, jmasa
2014-01-07 13:26:56 -05:00
Mikael Vidstedt
a0da47fd66
8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
...
Copyright year updated for files modified during 2013
Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Vladimir Kozlov
f3fc753f26
8028107: Kitchensink crashed with EAV
...
Check the state of caller and callee nmethods and skip call site patching if any of them is not alive
Reviewed-by: jrose, twisti
2013-12-06 12:11:51 -08:00
Goetz Lindenmaier
b4ded0bc2e
8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object
...
Also introduces the compiler oracle 'option' feature for PrintAssembly.
Reviewed-by: kvn
2013-11-22 12:14:09 -08:00
Vladimir Kozlov
aabed3781b
Merge
2013-11-21 12:30:35 -08:00
Albert Noll
18ca4cc301
8027593: performance drop with constrained codecache starting with hs25 b111
...
Fixed proper sweeping of small code cache sizes
Reviewed-by: kvn, iveresov
2013-11-12 09:32:50 +01:00
Vladimir Ivanov
505ac76763
8023037: Race between ciEnv::register_method and nmethod::make_not_entrant_or_zombie
...
Reviewed-by: kvn, iveresov
2013-11-08 01:13:11 -08:00
Vladimir Kozlov
39b0e57fdd
Merge
2013-11-05 17:38:04 -08:00
Igor Veresov
db9a439624
Merge
2013-10-13 13:22:24 -07:00
Albert Noll
aef0d74e96
8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash
...
Ensure ensure correct initialization of compiler runtime
Reviewed-by: kvn, twisti
2013-10-10 15:44:12 +02:00
Karen Kinnear
088ded71f9
8009130: Lambda: Fix access controls, loader constraints
...
New default methods list with inherited superinterface methods
Reviewed-by: minqi, sspitsyn, coleenp
2013-10-07 12:20:28 -04:00
Igor Veresov
51a9303c03
Merge
2013-10-03 16:38:21 +04:00
Zhengyu Gu
bfafab7b47
Merge
2013-09-27 10:08:56 -04:00
Albert Noll
0dee555ead
8020151: PSR:PERF Large performance regressions when code cache is filled
...
Code cache sweeping based on method hotness; removed speculatively disconnect
Reviewed-by: kvn, iveresov
2013-09-27 10:50:55 +02:00
Lois Foltan
7bf953d005
7195622: CheckUnhandledOops has limited usefulness now
...
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Albert Noll
a2889becd9
7009641: Don't fail VM when CodeCache is full
...
Allocation in the code cache returns NULL instead of failing the entire VM
Reviewed-by: kvn, iveresov
2013-09-24 15:56:25 +02:00
David Chase
222c735458
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
...
Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose
2013-09-13 22:38:02 -04:00
Vladimir Kozlov
1a700c9216
Merge
2013-09-05 11:04:39 -07:00
Niclas Adlertz
a0a141a9d9
Merge
2013-09-05 10:39:10 +02:00
Lois Foltan
fca9e37c80
8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
...
Declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification
Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
2013-08-29 18:56:29 -04:00
Roland Westrelin
515a7df996
8016277: Crash in nmethod::is_compiled_by_c1() on x86
...
Method pointer for zombie methods may be invalid
Reviewed-by: kvn, coleenp
2013-08-26 16:12:20 +02:00
Goetz Lindenmaier
fac7ee02c5
8023033: PPC64 (part 13): basic changes for AIX
...
Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank
2013-08-22 09:39:54 -07:00
John Cuthbertson
f63547bf71
7145569: G1: optimize nmethods scanning
...
Add a list of nmethods to the RSet for a region that contain references into the region. Skip scanning the code cache during root scanning and scan the nmethod lists during RSet scanning instead.
Reviewed-by: tschatzl, brutisso, mgerdin, twisti, kvn
2013-08-15 10:52:18 +02:00
Goetz Lindenmaier
c12f5a0180
8016696: PPC64 (part 4): add relocation for trampoline stubs
...
A trampoline allows to encode a small branch in the code, even if there is the chance that this branch can not reach all possible code locations. If the relocation finds that a branch is too far for the instruction in the code, it can patch it to jump to the trampoline where is sufficient space for a far branch. Needed on PPC.
Reviewed-by: kvn, bdelsart, jrose
2013-07-04 10:51:31 +02:00
Vladimir Kozlov
16f3142152
Merge
2013-07-03 11:50:29 -07:00
Vladimir Kozlov
579c7ac5ab
Merge
2013-06-27 11:12:19 -07:00
Coleen Phillimore
39a1c1d6c2
8016325: JVM hangs verifying system dictionary
...
Minimize redundant verifications of Klasses.
Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Vladimir Kozlov
7509ebea00
Merge
2013-06-27 13:04:51 -07:00
Goetz Lindenmaier
fad60d1428
8017308: Remove unused breakpoint relocation type
...
Remove unused breakpoint relocation type
Reviewed-by: kvn
2013-06-24 11:53:54 -07:00