harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgeniya Maenkova (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5404) [classlib][luni][reflection][performance]Proxy instances can be optimized
Date Fri, 18 Jan 2008 19:31:34 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560515#action_12560515

Evgeniya Maenkova commented on HARMONY-5404:

Currently each method of new instance of java.lang.reflect.Proxy, generated in package org.apache.harmony.luni.internal.reflect.ProxyClassFile,
contains Class.forName and Class.getMethod calls. But this information is availably in static.
This way we can avoid 2 calls in each method of Proxy.

This approach implementation gives up to 3x boost on attached micro bench:
on patched version:
result: 12719

on clean version:
result: 3890

> [classlib][luni][reflection][performance]Proxy instances can be optimized
> -------------------------------------------------------------------------
>                 Key: HARMONY-5404
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5404
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Evgeniya Maenkova
>            Assignee: Alexey Petrenko
> methods of new Proxy instances can be optimized to avoid redudant Class.forName and getMethod
call in each method

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

View raw message