208 Commits

Author SHA1 Message Date
Nils Eliasson
2f9e32256d Merge 2015-11-13 13:31:48 +01:00
Christian Thalinger
6896030b96 8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
Reviewed-by: goetz, stefank
2015-11-11 16:32:17 -10:00
Joseph Provino
539395ffbf Merge 2015-11-11 23:47:41 +00:00
Tom Rodriguez
e73df9dee6 8142436: [JVMCI] fix management of nmethod::_installed_code field
Reviewed-by: twisti
2015-11-10 11:50:20 -10:00
Tobias Hartmann
5d86db4b66 8067378: Add segmented code heaps info into jfr events: vm/code_cache/stats and vm/code_cache/config
Added code heap specific information to code cache JFR events.

Reviewed-by: twisti, mgronlun
2015-11-09 11:35:44 +01:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
1a5787d42e Merge 2015-11-05 19:31:57 +01:00
Christian Thalinger
a38ea495d6 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:23:23 -10:00
Coleen Phillimore
fc03719078 8139203: Consistent naming for klass type predicates
8138923: Remove oop coupling with InstanceKlass subclasses

Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.

Reviewed-by: jrose, lfoltan, stefank
2015-10-28 09:47:23 -04:00
Stefan Karlsson
eddb003fc7 8140584: nmethod::oops_do_marking_epilogue always runs verification code
Reviewed-by: tschatzl, kvn
2015-10-27 12:25:08 +01:00
Thomas Schatzl
a6231d3f70 8141134: Remove unnecessary pragma warning(disable:4355) from GC code
Reviewed-by: ehelin, simonis, stuefe
2015-11-04 17:36:29 +01:00
Coleen Phillimore
5179fc3488 8139163: InstanceKlass::cast passes through NULL
Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null

Reviewed-by: twisti, kbarrett
2015-10-26 13:11:36 -04:00
Coleen Phillimore
f1e89ea4cc 8140274: methodHandles and constantPoolHandles should be passed as const references
Modified code to use const reference parameters

Reviewed-by: sspitsyn, twisti
2015-10-23 16:48:38 -04:00
Nils Eliasson
5a5faf94bf 8137167: JEP165: Compiler Control: Implementation task
Compiler Control JEP

Reviewed-by: roland, twisti, zmajo, simonis
2015-10-20 18:07:28 +02:00
Stefan Karlsson
0c74942fe6 8058563: InstanceKlass::_dependencies list isn't cleared from empty nmethodBucket entries
Reviewed-by: mgerdin, vlivanov
2015-10-13 10:06:46 +02:00
Dean Long
344a9becee Merge 2015-10-17 19:40:30 -04:00
David Lindholm
5770f4eb32 8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files

Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
Christian Thalinger
16526e000e 8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -10:00
David Lindholm
1e71f67736 8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Nils Eliasson
559bf7ef6e 8135067: Preparatory refactorings for compiler control
Extract CompileTask and clean up

Reviewed-by: roland
2015-09-04 12:47:57 +02:00
Tobias Hartmann
7b6480cfa4 8134493: Cleaning inline caches of unloaded nmethods should be done in sweeper
Clean ICs of unloaded nmethods in sweeper to avoid impact on safepoint duration.

Reviewed-by: kvn, mdoerr
2015-08-31 13:49:18 +02:00
Tobias Hartmann
72e8f28d56 8075805: Crash while trying to release CompiledICHolder
Removed nmethod transition to zombie outside of sweeper. Added cleaning of ICs of unloaded nmethods.

Reviewed-by: kvn, iveresov
2015-08-25 07:49:55 +02:00
Bill Pittore
304b59b0c8 8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Need to add a space between macro identifier and string literal

Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00
Stefan Johansson
d9e465adaf 8077279: assert(ic->is_clean()) failed: IC should be clean
Reviewed-by: rbackman, thartmann
2015-06-15 10:24:38 +02:00
Vladimir Ivanov
e5a92a9fb9 8079205: CallSite dependency tracking is broken after sun.misc.Cleaner became automatically cleared
Reviewed-by: roland, psandoz, plevart, kbarrett, jrose
2015-05-15 19:23:11 +03:00
Rickard Bäckman
3dc9461bc8 8079797: assert(index >= 0 && index < _count) failed: check
Reviewed-by: kvn
2015-05-11 09:44:07 +02:00
Rickard Bäckman
41e1772251 8064458: OopMap class could be more compact
Reviewed-by: kvn, bdelsart
2015-05-05 16:50:25 +02:00
Vladimir Ivanov
f98a23137c 8057967: CallSite dependency tracking scales devastatingly poorly
Reviewed-by: jrose, roland, plevart, shade
2015-04-17 18:17:06 +03:00
Vladimir Ivanov
ad99060af9 8075266: Show runtime call details when printing machine code
Reviewed-by: jrose, kvn
2015-03-20 11:41:34 -07:00
Vladimir Ivanov
d6f7c9f4a6 8075269: Extend -XX:CompileCommand=print,* to work for MethodHandle.invokeBasic/linkTo*
Reviewed-by: jrose, kvn, dlong
2015-03-20 11:41:34 -07:00
Coleen Phillimore
7b384c6958 8061205: MetadataOnStackMark only needs to walk code cache during class redefinition
Only do full metadata walk during class redefinition and only walk handles during class unloading.

Reviewed-by: sspitsyn, stefank
2015-03-13 12:40:39 -04:00
Jesper Wilhelmsson
d7f5fccbc6 Merge 2015-02-16 21:24:39 +01:00
Stefan Karlsson
4913ad5d7d 8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Christian Tornqvist
094674666c Merge 2015-02-13 05:17:41 -08:00
Zoltan Majo
49282c3927 8071654: disassembler handles embedded OOPs not uniformly
Remove (currently dead) code that prints oops within disassembled instructions.

Reviewed-by: kvn, thartmann, roland
2015-01-29 19:16:47 +01:00
Jaroslav Bachorik
48639428ce 8068976: Remove JSDT implementation
Reviewed-by: sla, mchung, dholmes
2015-01-12 14:05:16 +01:00
Igor Veresov
1af7144df1 Merge 2014-10-27 20:03:57 -10:00
Stefan Karlsson
d410f19961 8056240: Investigate increased GC remark time after class unloading changes in CRM Fuse
Reviewed-by: mgerdin, coleenp, bdelsart
2014-10-02 10:55:36 +02:00
Tobias Hartmann
d63b9025d8 8058737: CodeCache::find_blob fails with 'unsafe access to zombie method'
Remove active ICStubs from zombie nmethods

Reviewed-by: kvn, iveresov
2014-09-29 08:40:51 +02:00
Tobias Hartmann
cd01de591a 8015774: Add support for multiple code heaps
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.

Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:00:07 +02:00
Tobias Hartmann
dd6285d984 8048721: -XX:+PrintCompilation prints negative bci for non entrant OSR methods
Removed 'InvalidOSREntryBci' and checking nmethod::_state instead to determine if an osr method is non-entrant.

Reviewed-by: kvn, vlivanov, drchase
2014-09-15 08:08:22 +02:00
Coleen Phillimore
731bbae8fa 8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid
Revert two small changes from the previous-versions cleanup with marking code cache.

Reviewed-by: kvn, dcubed
2014-09-05 08:08:51 -04:00
Coleen Phillimore
3c70d99eda 8055008: Clean up code that saves the previous versions of redefined classes
Use scratch_class to find EMCP methods for breakpoints if the old methods are still running.

Reviewed-by: dcubed, sspitsyn
2014-09-03 19:13:18 -04: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
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
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
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