harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Ignatenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3675) [drlvm][jni] vm.classloading.ClassAttributeTest reliability test fails with assertion
Date Thu, 19 Apr 2007 02:12:15 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489915
] 

Aleksey Ignatenko commented on HARMONY-3675:
--------------------------------------------

Gregory, you are right about [jni], I cannot remember why I marked it this way, this is to
be marked with [reflection]

> [drlvm][jni] vm.classloading.ClassAttributeTest reliability test fails with assertion
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3675
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3675
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can
be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably
fail when number of thread = 2).
> Stack trace:
>  	harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0,
unsigned int lineno=788)  Line 295	C
> >	harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000)  Line
788 + 0x1a	C++
>  	harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable *
table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8)  Line 53
+ 0xd	C++
>  	harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External
* jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680)  Line 76
+ 0x1f	C++
>  	0360ce46()	
>  	harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=)  Line 455 + 0xa	C++
> To reproduce one needs to 
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"

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