harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5829) [drlvm][kernel][performance] j.l.Class Serializable/Externalizable caching
Date Thu, 29 May 2008 06:04:45 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600688#action_12600688
] 

Aleksey Shipilev commented on HARMONY-5829:
-------------------------------------------

Nathan, we must fix the degradation now. 
The patch is also makes other class literals loaded to static fields just not to break the
style of entire class.

We can open another issue about class literal performance. Java bytecode disassembly shows
the difference is only:
 - slow version: ldc #... // class java/io/Serializable
 - fast version: getstatic #...; //Field SERIALIZABLE:Ljava/lang/Class;



> [drlvm][kernel][performance] j.l.Class Serializable/Externalizable caching
> --------------------------------------------------------------------------
>
>                 Key: HARMONY-5829
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5829
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Aleksey Shipilev
>            Assignee: Nathan Beyer
>             Fix For: 5.0M7
>
>         Attachments: vm-kernel-serializable-externalizable-cache-rc1.patch, vm-kernel-serializable-externalizable-cache-rc2.patch,
vm-kernel-serializable-externalizable-cache-rc3.patch, vm-kernel-serializable-externalizable-cache-V2-rc1.patch
>
>
> Serialization workloads relies on Class.isAssignableFrom(...) when looking up Serializable
and Externalizable properties (that is, implementation of interfaces). For now, DRLVM kernel
classes perform lookups on each invocation. This issue caches the mentioned properties in
Class fields and does not go to native VMClassRegistry for resolution.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message