harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2298) [linu-kernel] keep ThreadLocal instances weakly refenced in Thread
Date Tue, 10 Apr 2007 06:16:32 GMT

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

Mikhail Fursov commented on HARMONY-2298:
-----------------------------------------

I forgot to add that I run this test with -Xmx30m and -Xem:opt options in release mode.
When run with -Xmx30m and -Xem:jet option (or in default jit mode) test crashes in GC

> [linu-kernel] keep ThreadLocal instances weakly refenced in Thread
> ------------------------------------------------------------------
>
>                 Key: HARMONY-2298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2298
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>            Priority: Trivial
>
> This is a follow-up task after discussion [1]:
> j.l.Thread should keep ThreadLocal objects in a WeakIdentityHashMap (it is IdentityHashMap
in DRLVM now), to guard against potential memory leaks. I see no harm in this enhancement,
only gain.
> [1] http://thread.gmane.org/gmane.comp.java.harmony.devel/19157/focus=19305

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