Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 8, 2012
  1. Merge pull request #18 from jvirtanen/fix/level_thread_safety

    Robey Pointer authored
    util-logging: Make Level objects thread-safe
  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.
Commits on Feb 29, 2012
  1. @olix0r
Commits on Feb 27, 2012
  1. @mariusae
  2. @mariusae
  3. @mariusae
  4. @mariusae

    [split] 2.0.0-SNAPSHOT

    mariusae authored
  5. @mariusae

    [split] upgrade birdcage to guava 11

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

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

    dhelder authored
    … regex, split, or toInt ipToOptionInt: added
Commits on Feb 16, 2012
  1. @mariusae
Commits on Feb 13, 2012
  1. @mariusae
  2. @mariusae
  3. @mariusae
  4. @mariusae

    [split] Locals: optimize for save/restore

    mariusae authored
        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%
Commits on Feb 9, 2012
  1. @mariusae

    [split] ServerBuilder: Refactor, simplify

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

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

    dhelder authored
    * 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
  2. @mariusae

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

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

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

    jjmmcc authored
    …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.
Commits on Jan 31, 2012
Commits on Jan 24, 2012
  1. @mariusae
  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:…

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

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

    jjmmcc authored
    … 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.
Commits on Jan 12, 2012
  1. @stuhood

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

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

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

    mariusae authored
    This can be important if Offer.choose is in a tight loop.
  2. @olix0r
Something went wrong with that request. Please try again.