291 Commits

Author SHA1 Message Date
Morris Meyer
a6397cd368 8040920: Uninitialised memory in hotspot/src/share/vm/code/dependencies.cpp
Fixed parfait initialization issue.

Reviewed-by: kvn, twisti
2014-08-07 18:09:12 -07:00
Albert Noll
6520320d1a 8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full
Use separate sweeper thread; enables more aggressive sweeping.

Reviewed-by: kvn, jrose
2014-10-24 14:25:46 +02:00
Tobias Hartmann
bdd3c3df3a 8060196: 'CodeHeap is full' warning suggests to increase wrong code heap size
Fixed 'CodeHeap is full' warning to output the right CodeHeapSize flag.

Reviewed-by: kvn, anoll
2014-10-17 08:56:07 +02:00
David Chase
4c9f643e10 8054292: code comments leak in fastdebug builds
Added deallocation to destructor; hardened interface against misuse

Reviewed-by: kvn
2014-08-29 19:45:49 -04:00
Rickard Bäckman
84271f1c96 Merge 2014-07-24 14:38:26 +02:00
Martin Doerr
1439e307db 8050972: Concurrency problem in PcDesc cache
The entries of the PcDesc cache in nmethods are not declared as volatile, but they are accessed and modified by several threads concurrently.

Reviewed-by: kvn, dholmes, dcubed
2014-07-17 10:21:31 +02:00
Coleen Phillimore
c9b2bc62c9 Merge 2014-07-14 10:15:21 -04:00
Roland Westrelin
471e47dddf Merge 2014-07-11 02:34:11 -07:00
Jon Masamitsu
fbe6d80096 Merge 2014-07-10 13:39:18 -07:00
Stefan Karlsson
1b001a2afd 8049421: G1 Class Unloading after completing a concurrent mark cycle
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Stefan Karlsson
ef1e9b3c80 8049420: Backout 8048248 to correct attribution
Reviewed-by: ehelin, brutisso
2014-07-07 12:37:11 +02:00
Stefan Karlsson
8c3aced316 8048248: G1 Class Unloading after completing a concurrent mark cycle
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Goetz Lindenmaier
25f33c005d 8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
Introduce and clean up umbrella headers for the files in the cpu subdirectories.

Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Stefan Karlsson
2ef86bb65b 8047362: Add a version of CompiledIC_at that doesn't create a new RelocIterator
Reviewed-by: iveresov, mgerdin
2014-07-01 09:03:55 +02:00
Goetz Lindenmaier
f2051ed6fa 8048241: Introduce umbrella header os.inline.hpp and clean up includes
Reviewed-by: coleenp, dholmes, lfoltan
2014-06-26 16:05:15 +02:00
Stefan Karlsson
c3148bb6cb 8047326: Consolidate all CompiledIC::CompiledIC implementations and move it to compiledIC.cpp
Reviewed-by: vlivanov, ehelin
2014-06-25 08:56:57 +02:00
Stefan Karlsson
b549ffc364 8047373: Clean the ExceptionCache in one pass
Also-reviewed-by: kim.barrett@oracle.com

Reviewed-by: jmasa, jwilhelm
2014-06-24 17:09:48 +02:00
Per Lidén
d0e17d1ff0 8046231: G1: Code root location ... from nmethod ... not in strong code roots for region
Reviewed-by: tschatzl, ehelin
2014-06-23 16:43:41 +02:00
Tobias Hartmann
fa6b220619 8022968: Some codecache allocation failures don't result in invoking the sweeper
Add calls to CompileBroker::handle_full_code_cache() or fail gracefully whenever allocation in the code cache fails.

Reviewed-by: iveresov, vlivanov
2014-07-03 08:46:44 +02:00
Goetz Lindenmaier
8e7c8f1d88 8044775: Improve usage of umbrella header atomic.inline.hpp
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Tobias Hartmann
83fc2acbd7 8044538: assert(which != imm_operand) failed: instruction is not a movq reg, imm64
Fixed internal_word_Relocation::target() to not retrieve target address from code if relocation points into the constant section. Added test.

Reviewed-by: kvn, twisti, dlong
2014-06-11 09:16:19 +02:00
Bharadwaj Yadavalli
c66bd8445c 6563994: assert(wf.check_method_context(ctxk, m), "proper context") failed
Check for redefined method before finding unique concrete method

Reviewed-by: twisti, kvn
2014-05-19 20:28:35 +00:00
Christian Thalinger
c780be1a3a Merge 2014-05-12 17:01:57 -07:00
David Chase
305ec3bd3f 8037816: Fix for 8036122 breaks build with Xcode5/clang
Repaired or selectively disabled offending formats; future-proofed with additional checking

Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Tobias Hartmann
d2af4e35ec 8029343: CodeCache::allocate increments '_number_of_blobs' even if allocation fails
Incrementing the number of code blobs in CodeCache::allocate(...) is now only performed if allocation succeeds. The guarantee is fixed.

Reviewed-by: kvn, iveresov
2014-05-09 09:12:39 +02:00
Goetz Lindenmaier
6e6f0720a9 8042195: Introduce umbrella header orderAccess.inline.hpp
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Albert Noll
7e3f05c6f7 Merge 2014-04-28 03:44:35 -07:00
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