This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Keith> I welcome suggestions, advice, comments, etc.
This looks good to me.
What is it you need to capture here? Maybe we can suggest a better spot. Though, almost all state transitions happen here, so this is pretty good.
Maybe wrap the condition in a builtin_expect?
Keith> + java::lang::Thread *thread = java::lang::Thread::currentThread ();
You could hoist the local variable 'self' outside the new scope and reuse it. If you're into micro-optimization and all.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |