harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2233) [drlvm] Test attached to HARMONY-2072 asserts.
Date Wed, 22 Nov 2006 13:20:04 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2233?page=comments#action_12451928 ] 
            
Alexey Varlamov commented on HARMONY-2233:
------------------------------------------

Hmm, how can it be local handle if it is globally available??
Indeed it is initialized only once with global handle (vm\vmcore\src\init\vm_init.cpp(698):
   
    // Create OutOfMemoryError.
    vm_env->java_lang_OutOfMemoryError = oh_allocate_global_handle();
    vm_env->java_lang_OutOfMemoryError->object = 
        class_alloc_new_object(vm_env->java_lang_OutOfMemoryError_Class);


> [drlvm] Test attached to HARMONY-2072 asserts.
> ----------------------------------------------
>
>                 Key: HARMONY-2233
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2233
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Pervov
>         Attachments: H2233.patch
>
>
> DRLVM is designed the way it throws same OutOfMemoryError object each time it occurs.
Nevertheless local handles, containing this object can differ.
> But vm_create_jthread contains assertion about equality of handles.
> I'll attach the patch soon.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message