I looked at this post. It looks nice. However the authors or other aware people will tell me tricks with coding when HotSpot (does not depend on server or client or not Sun version) makes a code inline.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Don’t waste your time on unreasonable optimization. Write you code simple, to make it easy to maintain, and let the JIT take care of optimization.
javacalmost never inline anything (which is good). JVM does it often (which is very good). Algorithms to determine when and how to do what optimization by JIT is a rocket science. Don’t try to make your code smarter than that.If you trying to gain performance, then use profiler. If you trying to make your code harder to reverseengineer, use tools like proguard.