sgopalan, Welcome to Javaranch We'd like you to read the Javaranch Naming Policy and change your publicly displayed name (change it here) to comply with our unique rule. Thank you. PS: Quote from the naming policy:
For your publicly displayed name, use a first name, a space, and a last name. Obviously fictitious names or improperly formatted names may be locked out.
Paul, will the methods be inlined regardless of the size of the method? wouldn't that be an overhead? If a method that is eligible for inlining has a huge size, and also invoked a lot of times from a single method, wouldn't inlining be a dis-advantage? (because i read somewhere that the maximum size of a single method is ~64k bytes) I think the C/C++ compilers take these details into consideration before inlining. Any links on this topic?
Originally posted by Vin Kris: (because i read somewhere that the maximum size of a single method is ~64k bytes)
I am sure Java takes this into account but... a method in Java > 64k bytes!!! Was it written by a COBOL programmer? (This is not meant as a swipe at COBOL programmers. It is simply the case that COBOL programmers generally write large scale procedural top down programs.)