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] Updated: (HARMONY-5713) [drlvm][performance] Implementation of System.identityHashCode() on magics
Date Thu, 10 Apr 2008 16:10:05 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aleksey Shipilev updated HARMONY-5713:
--------------------------------------

    Attachment: vm-identityHashCode-3.patch

vm-identityHashCode-3.patch
Working patch for identityHashCode magic. Speeds up ThreadLocalBench performance 2.5x times.

Crashes Dacapo:jython:

java.lang.reflect.InvocationTargetException
	at java.lang.reflect.VMReflection.newClassInstance(VMReflection.java)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:283)
	at dacapo.TestHarness.runBenchmark(TestHarness.java)
	at dacapo.TestHarness.main(TestHarness.java:242)
	at Harness.main(Harness.java)
	at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
	at java.lang.reflect.Method.invoke(Method.java:317)
	at org.apache.harmony.vm.JarRunner.main(JarRunner.java:89)
Caused by: java.lang.NullPointerException
	at org.apache.harmony.drlvm.gc_gen.GCHelper.objectSize(GCHelper.java)
	at org.apache.harmony.drlvm.gc_gen.GCHelper.get_hashcode(GCHelper.java:216)
	at org.python.core.PyStringMap.__finditem__(Unknown Source)
	at org.python.core.PyJavaPackage.addPackage(Unknown Source)
	at org.python.core.PackageManager.makeJavaPackage(Unknown Source)
	at org.python.core.CachedJarsPackageManager.addPackages(Unknown Source)
	at org.python.core.CachedJarsPackageManager.addJarToPackages(Unknown Source)
	at org.python.core.CachedJarsPackageManager.addJarToPackages(Unknown Source)
	at org.python.core.PathPackageManager.addClassPath(Unknown Source)
	at org.python.core.SysPackageManager.findAllPackages(Unknown Source)
	at org.python.core.SysPackageManager.<init>(Unknown Source)
	at org.python.core.PySystemState.initPackages(Unknown Source)
	at org.python.core.PySystemState.initialize(Unknown Source)
	at org.python.core.PySystemState.initialize(Unknown Source)
	at org.python.util.jython.main(Unknown Source)
	at dacapo.jython.JythonHarness.prepare(JythonHarness.java)
	at dacapo.Benchmark.<init>(Benchmark.java)
	at dacapo.jython.JythonHarness.<init>(JythonHarness.java:15)
	at java.lang.reflect.VMReflection.newClassInstance(VMReflection.java)
	... 7 more



> [drlvm][performance] Implementation of System.identityHashCode() on magics
> --------------------------------------------------------------------------
>
>                 Key: HARMONY-5713
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5713
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: Aleksey Shipilev
>         Attachments: vm-identityHashCode-3.patch
>
>
> This is the working sub-task for implementation of System.identityHashCode() on magics,
inspired by HARMONY-4551.

-- 
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