287 Commits

Author SHA1 Message Date
Christian Thalinger
4036d37a8f 8152134: [JVMCI] printing compile queues always prints C2 regardless of UseJVMCICompiler
Reviewed-by: dnsimon
2016-03-17 16:10:58 -10:00
Nils Eliasson
d2078b7e23 8151795: compiler/compilercontrol/parser/DirectiveParserTest.java fails with "assert failed: 0 != 0"
Treat zero added directives as fail

Reviewed-by: twisti, kvn
2016-03-15 11:17:06 +01:00
Volker Simonis
173a62a8d6 8150646: Add support for blocking compiles though whitebox API
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Reviewed-by: kvn, ppunegov, simonis, neliasso
2016-03-03 16:21:16 +01:00
Nils Eliasson
607365df56 8149789: SIGSEGV in CompileTask::print
Print tasks from active compile threads requires safepoint

Reviewed-by: kvn
2016-02-25 10:44:19 +01:00
Rahul Raghavan
b239e217b9 8145707: 4 Null pointer dereference defect groups in compileBroker.cpp
Added explicit null checks to fix possible null pointer dereference errors for internal tests.

Reviewed-by: kvn
2016-02-19 10:06:19 +01:00
Tom Rodriguez
05730d99ba 8149969: [JVMCI] PrintNMethods is ignored for CompilerToVM.installCode when not called from the broker
Reviewed-by: kvn
2016-02-16 09:49:58 -08:00
Doug Simon
075ed4ea75 8148507: [JVMCI] mitigate deadlocks related to JVMCI compiler under -Xbatch
Reviewed-by: twisti, dholmes
2016-02-08 18:52:03 +01:00
Nils Eliasson
044e5ececc 8148696: Race loading hsdis may cause SIGSEGV
Guard library loading with a lock

Reviewed-by: vlivanov
2016-02-08 14:05:45 +01:00
Nils Eliasson
ae0867c9f8 8063112: Compiler diagnostic commands should have locking instead of safepoint
Remove unnecessary vm-ops and add locking instead, improve output

Reviewed-by: kvn
2016-01-22 15:25:40 +01:00
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
Erik Helin
f646b9fac7 8147012: Fix includes in internalVMTests.cpp
Reviewed-by: stefank, mgerdin
2016-01-19 11:00:29 +01: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
Nils Eliasson
48b6051ee7 8145331: SEGV in DirectivesStack::release(DirectiveSet*)
GetDefaultDirective was not updated in 8144873

Reviewed-by: twisti, kvn
2016-01-14 13:24:03 +01: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
a0861106e3 Merge 2016-01-11 17:11:57 -08:00
Joseph Provino
9288ff53e7 Merge 2016-01-07 21:10:28 +00:00
Nils Eliasson
cd1d8e4304 8145328: SEGV in DirectivesStack::getMatchingDirective
Loop until enabled directive is found

Reviewed-by: kvn, twisti
2015-12-21 22:17:23 +01:00
Nils Eliasson
dde534535b 8145566: PrintNMethods compile command broken since b89
Decremented Symbol twice

Reviewed-by: thartmann, kvn
2015-12-19 19:06:02 +01:00
Christian Thalinger
9e981ee107 Merge 2015-12-18 12:39:02 -08:00
Vladimir Ivanov
a82be01120 8071374: -XX:+PrintAssembly -XX:+PrintSignatureHandlers crash fastdebug VM with assert(limit == __null || limit <= nm->code_end()) in RelocIterator::initialize
Reviewed-by: kvn, iklam, shade
2015-12-18 20:23:26 +03:00
Nils Eliasson
74cff677d4 8144091: CompilerControl: directive file doesn't override inlining rules
Fix correct overrides

Reviewed-by: roland
2015-12-09 13:37:59 +01:00
Nils Eliasson
2bb757d0eb 8145345: LogCompilation output is empty after JEP165: Compiler Control
Fix default init and compilecommand update

Reviewed-by: kvn
2015-12-16 15:39:11 +01: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
Christian Thalinger
bf5db72254 8134994: use separate VMStructs databases for SA and JVMCI
Reviewed-by: kbarrett
2015-12-14 17:02:02 -10:00
Doug Simon
08a2e337c7 8145270: Need to eagerly initialize JVMCI compiler under -Xcomp
Reviewed-by: twisti
2015-12-13 22:51:13 +01:00
Nils Eliasson
7b54819d3e 8144601: Premature assert in directive inline parsing
Break after first fail

Reviewed-by: roland
2015-12-09 13:41:04 +01:00
Ioi Lam
e708f69e1f 8143615: compactHashtable.hpp includes .inline.hpp file
Reviewed-by: dholmes, stefank
2015-12-02 18:14:54 -08:00
Ioi Lam
9c775566e5 8144853: Print the names of callees in PrintAssembly/PrintInterpreter
Reviewed-by: dholmes, vlivanov
2015-12-07 09:19:26 -08:00
Doug Simon
7112a8bb9e 8143151: [JVMCI] assertion for allocation of "too many" CompileTasks must take JVMCI into account
Reviewed-by: iignatyev, twisti
2015-11-18 10:46:21 -10: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
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
Roland Schatz
3d745923ca 8142329: [JVMCI] pass Handle by value
Reviewed-by: coleenp, twisti
2015-11-10 10:34:39 -10: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
Zoltan Majo
c04398f782 8138651: -XX:DisableIntrinsic matches intrinsics overly eagerly
Improve parsing of DisableIntrinsic flag.

Reviewed-by: kvn, shade, neliasso
2015-10-29 09:24:00 +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
ed82cd0ee8 Merge 2015-10-23 23:06:53 +02: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
7793175141 8140343: SEGV in DirectivesStack::getMatchingDirective
Could not match JVMCI compiler

Reviewed-by: kvn
2015-10-23 10:57:41 +02: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
1c8b312b4c 8139996: CompileCommand prints quoted ascii strings
Print symbols as utf8

Reviewed-by: kvn
2015-10-26 10:36:54 +01:00
Goetz Lindenmaier
98073abeef 8140239: Fix product build after "8132168: Support IdealGraphVisualizer in optimized build"
Reviewed-by: vlivanov
2015-10-21 18:22:47 +03: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