Skip to content
Commits on Mar 8, 2012
  1. Merge pull request #18 from jvirtanen/fix/level_thread_safety

    util-logging: Make Level objects thread-safe
    Robey Pointer committed Mar 8, 2012
  2. util-logging: Make Level objects thread-safe

    The Level objects and the Logger object are intertwined in a
    way that may lead to trouble in multithreaded applications: the
    Level class constructor requires access to the Logger object,
    whose constructor, in turn, forces construction of the Level
    objects. Because evaluating the constructor of an object blocks
    other threads trying to dereference the object, this can end up
    in a deadlock:
    
      - Thread 1 holds lock for 'Level.OFF' construction and awaits
        on the Logger object
      - Thread 2 holds lock for the Logger object construction and
        awaits on 'Level.OFF'
    
    Fix the problem by constructing the Level objects non-lazily when
    the Level object (rather than the Logger object) is accessed for
    the first time.
    committed Mar 6, 2012
Commits on Feb 29, 2012
  1. [split] update commons zookeeper deps

    Oliver Gould committed Feb 28, 2012
Commits on Feb 27, 2012
  1. @mariusae
  2. @mariusae
  3. @mariusae
  4. @mariusae

    [split] 2.0.0-SNAPSHOT

    mariusae committed Feb 27, 2012
  5. @mariusae

    [split] upgrade birdcage to guava 11

    Guava 11 deprecated (removed!) MapMaker in favor of CacheBuilder.
    mariusae committed Feb 27, 2012
Commits on Feb 21, 2012
  1. @dhelder

    [split] NetUtil.scala: Optimize isIpv4Address and ipToInt - don't use…

    … regex, split, or toInt ipToOptionInt: added
    dhelder committed Feb 21, 2012
Commits on Feb 16, 2012
  1. @mariusae
Commits on Feb 13, 2012
  1. @mariusae

    [split] util: update changelog

    mariusae committed Feb 13, 2012
  2. @mariusae
  3. @mariusae
  4. @mariusae

    [split] Locals: optimize for save/restore

        Contexts are immutable, and we copy them when a local is set.
        Save/restore operations dominates Local.set, so this avoids an order
        of magnitude of copies, even after the previous save cache change.
    
        In the topo stress test, this scales Local allocation down to 0.3% of
        total allocation, down from 6.4%
    mariusae committed Feb 13, 2012
Commits on Feb 9, 2012
  1. @mariusae

    [split] ServerBuilder: Refactor, simplify

    this is step 1 in preparation for factory cleanup and native mux
    support.
    mariusae committed Feb 9, 2012
Commits on Feb 8, 2012
  1. @dhelder

    [split] Changes for finagle-http.Message and util.NetUtil

    * finagle-http/Message.scala:
        mediaType=: no longer sets charset to utf-8
        add Message.charset, Message.charset=
    * finagle-http/MediaType.scala:
        add OctetStream
    
    * util-core/NetUtil.scala:
       Add inetAddressToInt, isInetAddressInBlock, isInetAddressInBlocks
    dhelder committed Feb 8, 2012
  2. @mariusae

    [split] Locals: reduce allocations on context save/restore

    we do this by
    
    	1. cache saved contexts
    	2. less wrapping, with a slightly less type safe API.
    
    Joint work with Sam.
    mariusae committed Feb 8, 2012
Commits on Feb 7, 2012
Commits on Feb 2, 2012
  1. @jjmmcc

    [split] simplify place schema in tweetypie - simplified the place sch…

    …ema in tweetypie to only include the data needed by the public api - replaced the PlaceGeometry object with a list of GeoCoordinates defining the bounding box - computing the bounding box by decoding the "wkb" (well-known-binary) data. - now filling in the country-code by walking up the place containment hierarchy. - place loading is now controlled more explicitly with a loadPlaces option. languageTag still affects localization, but defaults to "en" if not otherwise specified. - updated birdherd to optionally use the loadPlaces option and to extract country code and bounding box.
    jjmmcc committed Feb 2, 2012
Commits on Jan 31, 2012
  1. [split] fix the case where double proxied exceptions fail

    Kyle Maxwell committed Jan 31, 2012
Commits on Jan 24, 2012
  1. @mariusae

    [split] util: update ChangeLog

    mariusae committed Jan 24, 2012
  2. @mariusae
  3. @mariusae
Commits on Jan 23, 2012
  1. @mariusae
  2. @mariusae
  3. @mariusae
  4. @arya
  5. @mariusae

    [split] Revert "Don`t clear handlers or levels when caching a Logger:…

    … applications that want this behavior will be calling Logger.configure anyway"
    
    This reverts commit 30261a638449cfc5ca12e1b9aa77c8630bede985.
    mariusae committed Jan 23, 2012
  6. @mariusae
  7. @mariusae
Commits on Jan 18, 2012
  1. @jjmmcc

    [split] Future.const - builds a constant Future from an existing Try.…

    … Similar to calling new Promise(result), but doesn't expose Promise. Analogous to the existing value/exception methods, but doesn't force you to decompose your Try.
    jjmmcc committed Jan 18, 2012
Commits on Jan 12, 2012
  1. @stuhood

    [split] Don`t clear handlers or levels when caching a Logger: applica…

    …tions that want this behavior will be calling Logger.configure anyway
    stuhood committed Jan 11, 2012
Commits on Jan 10, 2012
  1. @mariusae

    [split] Offer.choose: use nanoseconds for random seed

    This can be important if Offer.choose is in a tight loop.
    mariusae committed Jan 10, 2012
Something went wrong with that request. Please try again.