135 Commits

Author SHA1 Message Date
Tobias Hartmann
832443d3b0 Merge 2016-01-28 09:49:17 +01:00
Tom Rodriguez
87d68c21c4 8147432: JVMCI should report bailouts in PrintCompilation output
Reviewed-by: kvn, twisti
2016-01-22 11:08:07 -08:00
Jesper Wilhelmsson
54d0181916 Merge 2016-01-14 17:36:29 +01:00
David Lindholm
ad0c208a5a 8146690: Make all classes in GC follow the naming convention
Reviewed-by: dholmes, stefank
2016-01-14 13:26:19 +01:00
Tom Rodriguez
75901ea0cb 8147433: PrintNMethods no longer works with JVMCI
Reviewed-by: kvn, twisti
2016-01-18 11:07:40 -08:00
Doug Simon
5be1924e89 8146705: Improve JVMCI support for blocking compilation
Reviewed-by: twisti, never, iveresov
2016-01-11 14:23:35 +01:00
Christian Thalinger
9e981ee107 Merge 2015-12-18 12:39:02 -08:00
Nils Eliasson
8c0ad215bc 8144246: adding lots of directives via jcmd may produce OOM crash
Add a limit to the number of directives

Reviewed-by: kvn
2015-12-16 15:38:28 +01:00
Doug Simon
08a2e337c7 8145270: Need to eagerly initialize JVMCI compiler under -Xcomp
Reviewed-by: twisti
2015-12-13 22:51:13 +01:00
Doug Simon
09c6215e3e 8141330: [JVMCI] avoid deadlock between application thread and JVMCI compiler thread under -Xbatch
Reviewed-by: twisti
2015-11-18 09:43:31 -10:00
Vladimir Ivanov
1cfbe2dec5 8139595: MethodHandles::remove_dependent_nmethod is not MT safe
Reviewed-by: jrose, coleenp
2015-11-18 03:03:43 +03:00
Nils Eliasson
5ea0e0d066 8141585: CompilerDirectivesDCMDTest intermittently SEGVs in MethodMatcher::matcher
Missing methodHandle and read before lock

Reviewed-by: twisti
2015-11-13 10:08:44 +01:00
Nils Eliasson
2f9e32256d Merge 2015-11-13 13:31:48 +01:00
Roland Schatz
3d745923ca 8142329: [JVMCI] pass Handle by value
Reviewed-by: coleenp, twisti
2015-11-10 10:34:39 -10:00
Jesper Wilhelmsson
1a5787d42e Merge 2015-11-05 19:31:57 +01: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
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
efd194d2e3 8140581: Excluding compile messages should only be printed with PrintCompilation
Use PrintCompilation flag instead

Reviewed-by: kvn
2015-10-28 15:44:28 +01: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
Dean Long
344a9becee Merge 2015-10-17 19:40:30 -04:00
Jesper Wilhelmsson
e75e2e04f7 Merge 2015-10-07 01:03:24 +02:00
Claes Redestad
6947623b7b 8134607: Remove per-compiler performance counters
Reviewed-by: twisti, neliasso
2015-10-12 14:54:39 +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
5ca8983920 8135068: Extract method matchers from CompilerOracle
Ecapsulate code to enable reuse

Reviewed-by: roland, kvn
2015-09-18 10:11:11 +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
Zoltan Majo
1e55e60cb1 8076373: In 32-bit VM interpreter and compiled code process NaN values differently
Change interpreter to use XMM registers on x86_32 if they are available. Add stubs for methods transforming from/to int/long float/double.

Reviewed-by: kvn, mcberg
2015-08-19 08:55:18 +02:00
Coleen Phillimore
ea406828ce 8082782: vm crash on StressRedefineWithoutBytecodeCorruption fails with assert(((Metadata*)obj)->is_valid()) failed: obj is valid
Walk compile task for Method* to not deallocate, store methods in methodHandle while compile task is being taken off compile queue

Reviewed-by: dcubed, sspitsyn
2015-07-23 15:17:58 -04:00
Michael Haupt
590ec77481 6900757: minor bug fixes to LogCompilation tool
Improve internal error reporting (point to XML element causing trouble); fix comparator for sorting by name and start; make tool more robust wrt. incorrect options and files not found; make inlining decision output more clear; adopt uncommon traps history printing; properly mention compiler in generated logs; add options for printing time stamps and omitting compilation IDs; add option for comparing compilation logs; overall code cleanup and API documentation

Reviewed-by: kvn, vlivanov
2015-03-31 21:46:44 +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
Zoltan Majo
e559c17954 8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
Changed interpreter and compilation policies to allow using CompileThresholdScaling on a per-method level

Reviewed-by: jrose, kvn
2015-01-21 10:51:35 +01:00
Pavel Chistyakov
5bd69d7ad4 8059551: JEP-JDK-8043304: Test task: stress tests
Reviewed-by: drchase, kvn, iignatyev
2015-01-12 18:58:49 +03:00
Tobias Hartmann
137d39454d 8007993: hotspot.log w/ enabled LogCompilation can be an invalid XML
Open compilation log files in write-mode and close before deletion attempt.

Reviewed-by: vlivanov
2014-11-26 08:06:58 +01:00
Tobias Hartmann
9adb455ba8 8065339: Failed compilation does not always trigger a JFR event 'CompilerFailure'
CompilerFailure JFR event should be triggered in ciEnv.

Reviewed-by: kvn
2014-11-24 08:48:15 +01:00
Nils Eliasson
bc52e8443e 8061256: com/sun/management/DiagnosticCommandMBean/DcmdMBeanPermissionsTest.java timed out
Must not be at safepoint when taking CompileQueue_lock

Reviewed-by: kvn, anoll
2014-11-13 14:42:54 +01:00
Igor Ignatyev
bdac822811 8059624: Test task: WhiteBox API for testing segmented codecache feature
Reviewed-by: kvn, thartmann
2014-11-10 19:04:38 +03:00
Daniel D. Daugherty
2730e1ad50 Merge 2014-10-31 10:15:29 -07:00
Coleen Phillimore
4c036f5730 8037842: Failing to allocate MethodCounters and MDO causes a serious performance drop
Stop allocating compiler profiling metadata when metaspace is full.

Reviewed-by: kvn, anoll
2014-10-30 18:38:42 -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
Aleksey Shipilev
f824f8c3cb 8058968: Compiler time traces should be improved
Use CITime consistently, make C2 to report to CompilerBroker, more probes.

Reviewed-by: vlivanov, jrose
2014-09-25 12:10:57 +04:00
Nils Eliasson
2dcb0e33bb 8058461: serviceability/dcmd/CodelistTest.java and serviceability/dcmd/CompilerQueueTest.java SIGSEGV
Print only alive nmethods and add lock to print compile queue

Reviewed-by: kvn, anoll
2014-09-15 17:12:01 +02:00
Igor Veresov
ba6a457d68 Merge 2014-09-18 08:32:12 +00:00
Nils Eliasson
99a2ef6914 8058583: Remove CompilationRepeat
Remove product flag -XX:CompilationRepeat

Reviewed-by: kvn, iveresov
2014-09-18 08:47:07 +02:00
Igor Veresov
ad7e67c98f 8058564: Tiered compilation performance drop in PIT
Ensure MethodCounters are created before method is enqueued for compilation

Reviewed-by: kvn, drchase, jiangli
2014-09-17 21:15:03 -07: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
Nils Eliasson
6062c2db15 8054889: Compiler team's implementation task
Adding three new diagnostic commands for compiler

Reviewed-by: anoll, kvn, drchase
2014-09-10 13:27:33 +02:00
Alejandro Murillo
f4aa8d51a5 Merge 2014-07-18 12:02:54 -07:00
Vladimir Ivanov
9b8aaef575 8049530: Provide descriptive failure reason for compilation tasks removed for the queue
Reviewed-by: roland, iveresov
2014-07-14 03:26:52 -07:00
Frederic Parain
5a8cc5f33d 8047714: Fix for JDK-6546236 made Solaris os::yield() a no-op
Reviewed-by: hseigel, lfoltan
2014-07-08 08:04:06 -07:00
Jon Masamitsu
38aa661273 Merge 2014-06-26 18:55:29 -07:00