Skip to content

Method inlined on Android 13/Tiramisu (API 33) #5

Discussion options

You must be logged in to vote

Ok, then it's the inline problem. Tiramisu has increased its inline threshold so it's not surprising.
See LSPosed/LSPosed@ef1439a, systemMain is also inlined...

As the document has said, you should deoptimize the caller to make it work. Note that it's not deoptimizing the getSystemService but the method which invokes getSystemService.

For example, there's a piece of code like this:

class X {
fun A() {
xxActivity.getSystemService("activity")
}
}

You should deoptmize(X::A) rather than deoptmize(Activity::getSystemService)

Replies: 26 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by yujincheng08
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@yujincheng08
Comment options

@yujincheng08
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@vegedreamgagnoa
Comment options

@yujincheng08
Comment options

@vegedreamgagnoa
Comment options

@vegedreamgagnoa
Comment options

@yujincheng08
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4 on March 08, 2022 10:24.