oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "R B Krishna (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OODT-917) replace hashtable with hashmap
Date Sun, 12 Mar 2017 20:29:04 GMT

    [ https://issues.apache.org/jira/browse/OODT-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906677#comment-15906677
] 

R B Krishna commented on OODT-917:
----------------------------------

Hello, can I take up this issue?
Can someone tell me how I should check if thread safety is required for a particular piece
of code?
Thanks.

> replace hashtable with hashmap
> ------------------------------
>
>                 Key: OODT-917
>                 URL: https://issues.apache.org/jira/browse/OODT-917
>             Project: OODT
>          Issue Type: Improvement
>            Reporter: Tom Barber
>            Priority: Minor
>             Fix For: 1.1
>
>
> Hashtable is part of the obsolete dictionary class and whilst threadsafe is slower and
more memory intesive than a hashmap, if threadsafety is required Hashmap can provide the concurrenthashmap



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message