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-3537) [drlvm]Race conditions while HWA running on interpreter
Date Tue, 17 Apr 2007 05:48:15 GMT

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

Alexey Varlamov commented on HARMONY-3537:
------------------------------------------

One more note, please put such marks inside ifdef too:

+    UNSAFE_REGION_START
 #ifdef VM_STATS
     VM_Statistics::get_vm_stats().num_jni_handles_wasted_refs += (h->capacity - h->size);
 #endif //VM_STATS
+    UNSAFE_REGION_END


> [drlvm]Race conditions while HWA running on interpreter
> -------------------------------------------------------
>
>                 Key: HARMONY-3537
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3537
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Ilya Leviev
>         Assigned To: weldon washburn
>         Attachments: HARMONY-3537-mark_hwa_race_conditions.patch, HARMONY-3537-mark_hwa_race_conditions_update.patch
>
>
> TC report about race conditions while HWA running on interpreter(debug mode). As it not
affect on correctness of program execution I have marked it by special API for prevention
of further alarms on this race conditions.
> The patch marks such race at TM module and at VMCORE/objects.
> Notes: 
> The patch contains 3 parts.
> 1) - Add new header file (port/include/port_nonatomic.h) which define functions that
mark start and end points of code area where thread unsafe operations are performed.
> 2) - Mark VMCORE/objects race conditions at vmcore/src/object/object_handles.cpp by defined
functions.
> 3) - Mark TM race conditions at thread/src/thread_native_thin_monitor.c by defined functions.

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