[haiku-bugs] Re: [Haiku] #15660: BOpenHashTable becomes corrupt if duplicates are inserted

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 29 Jan 2020 07:50:54 -0000

#15660: BOpenHashTable becomes corrupt if duplicates are inserted
-------------------------+----------------------------
   Reporter:  ambroff    |      Owner:  nobody
       Type:  task       |     Status:  new
   Priority:  normal     |  Milestone:  Unscheduled
  Component:  - General  |    Version:  R1/Development
 Resolution:             |   Keywords:
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  All
-------------------------+----------------------------
Comment (by korli):

 This comment makes it clear why the linked list is used. Not failing for
 out of memory is a common feature in the kernel, definitely to retain.
 "The link between entries is part of the ValueType stored items, which
 makes sure the table can always accept new items and will never fail
 because it is out of memory (except at Init time)."
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15660#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: