Jonathan Ellis

Show:

What's happening?

  • adp options are ignored by adpcmds.c

    One symptom is a ton of "missing close brace" errors when singlescript is enabled. This fix works for me: --- adpcmds.c~ 2006-06-25 20:28:02.000000000 -0400 +++ adpcmds.c 2009-10-10 14:21:01.000000000 -0400 @@ -436,7 +436,8 @@ "arg ?arg ...?"); return TCL_ERROR; } - isfile = flags = 0; + isfile = 0; + flags = itPtr->adp.flags;.

    2009-10-10 18:27:28 UTC in AOLserver

  • Followup: RE: Iterator clarification

    Cliff wrote by email: ----- The snapshot just means you don't see partial table copies as you surmised. Not many guarantees, to be sure. But I think on all modern hardware you'll not get just {A} in the snapshot array at any one time, but the iteration order still does not preclude funny games. Suppose the array is of length 4: {x,A,B,x}. T1 reads x@0, reads A@1. T2 inserts C@0...

    2009-09-06 04:36:36 UTC in Highly Scalable Java

  • Iterator clarification

    Short version: If I iterate a NBHM containing keys A and B in one thread, and in a second thread put key C _then_ remove key B, can the iterating thread ever see the keySet {A}? Or will it always see one of {A,B}, {A,B,C}, {A,C}? Long version: The javadoc says, "Iterators and Enumerations return elements reflecting the state of the hash table at some point at or since the...

    2009-09-05 18:56:31 UTC in Highly Scalable Java

  • Comment: Docs should mention tombstoning 2

    Sure, it's definitely expected that there are tradeoffs involved. IMO it mostly just needs to be documented.

    2009-08-14 05:41:05 UTC in Highly Scalable Java

  • Docs should mention tombstoning 2

    (Sorry, sf.net does not have a way to re-open issues. Don't shoot the messenger. :) See https://sourceforge.net/tracker/?func=detail&aid=2828100&group_id=194172&atid=948362 for original report. Cliff, you misunderstood my report. The problem is that only values are tombstoned; keys references are still kept around. See attached Test.java -- invoking set._map.print(set._map._kvs) (via a...

    2009-08-11 17:10:50 UTC in Highly Scalable Java

  • Docs should mention tombstoning

    Tombstoning is not transparent to the end user because (according to my quick read of the code; I could not find this documented anywhere) keys are not actually cleared by remove() until growing the map pushes things into a new table. This bit me when I was using a NBHS to store very large data structures, and it was very frustrating to run out of memory while the Set said it was empty! If...

    2009-07-27 22:16:01 UTC in Highly Scalable Java

  • NFC Chat

    ellisj committed patchset 595 of module nfcchat to the NFC Chat CVS repository, changing 1 files.

    2008-07-19 13:59:25 UTC in NFC Chat

  • NFC Chat

    ellisj committed patchset 594 of module nfcchat to the NFC Chat CVS repository, changing 1 files.

    2008-07-19 13:53:12 UTC in NFC Chat

  • NFC Chat

    ellisj committed patchset 593 of module nfcchat to the NFC Chat CVS repository, changing 1 files.

    2008-07-19 13:50:56 UTC in NFC Chat

  • NFC Chat

    ellisj committed patchset 592 of module nfcchat to the NFC Chat CVS repository, changing 1 files.

    2008-07-13 05:35:42 UTC in NFC Chat

About Me

  • 2002-11-27 (7 years ago)
  • 657828
  • ellisj (My Site)
  • Jonathan Ellis

Send me a message