[ 
https://issues.apache.org/jira/browse/HIVE-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782096#comment-13782096
 ] 

Brock Noland commented on HIVE-5283:
------------------------------------

bq. Inlining would really depend on JIT implementation and 

Is there a JVM we are targeting that doesn't have an advanced JIT 
implementation?

bq. in most cases only for final classes and methods.

Where are you getting this?  I am guessing the state of of the art JIT has 
improved dramatically since Brian Goetz wrote this article in 2002:

http://www.ibm.com/developerworks/java/library/j-jtp1029/index.html

Where he says:

"The common perception is that declaring classes or methods final makes it 
easier for the compiler to inline method calls, but this perception is 
incorrect (or at the very least, greatly overstated)."

"So the reality is that while final might be a useful hint to a dumb run-time 
optimizer that doesn't perform any global dependency analysis, its use doesn't 
actually enable very many compile-time optimizations, and is not needed by a 
smart JIT to perform run-time optimizations."

> Merge vectorization branch to trunk
> -----------------------------------
>
>                 Key: HIVE-5283
>                 URL: https://issues.apache.org/jira/browse/HIVE-5283
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>         Attachments: alltypesorc, HIVE-5283.1.patch, HIVE-5283.2.patch, 
> HIVE-5283.3.patch, HIVE-5283.4.patch
>
>
> The purpose of this jira is to upload vectorization patch, run tests etc. The 
> actual work will continue under HIVE-4160 umbrella jira.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to