mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 22:04:51 +02:00
6953539: after 6892658 c1 reports that it doesn't inline StringBuffer.append
Reviewed-by: kvn, twisti
This commit is contained in:
parent
c12b2b3f69
commit
b03699b985
1 changed files with 5 additions and 1 deletions
|
@ -2978,7 +2978,11 @@ bool GraphBuilder::try_inline(ciMethod* callee, bool holder_known) {
|
||||||
|
|
||||||
bool GraphBuilder::try_inline_intrinsics(ciMethod* callee) {
|
bool GraphBuilder::try_inline_intrinsics(ciMethod* callee) {
|
||||||
if (!InlineNatives ) INLINE_BAILOUT("intrinsic method inlining disabled");
|
if (!InlineNatives ) INLINE_BAILOUT("intrinsic method inlining disabled");
|
||||||
if (callee->is_synchronized()) INLINE_BAILOUT("intrinsic method is synchronized");
|
if (callee->is_synchronized()) {
|
||||||
|
// We don't currently support any synchronized intrinsics
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// callee seems like a good candidate
|
// callee seems like a good candidate
|
||||||
// determine id
|
// determine id
|
||||||
bool preserves_state = false;
|
bool preserves_state = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue