This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Know more - Gil Tene | |
GC is about tracking live objects, not dead objects. | |
Poor GC -> OOM, high pauses, long pause times | |
Hotspot -> C/C++/Assembly | |
Heap is broken into several generations pools. [all this is tuneable] | |
-- Eden |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns logging.web-test | |
(:use midje.sweet | |
ring.mock.request | |
my-thing.web) | |
(:import [com.github.restdriver.clientdriver | |
ClientDriverFactory | |
ClientDriverRule | |
RestClientDriver])) | |
(def driver (.. (ClientDriverFactory.) (createClientDriver 8123))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; | |
;; NS CHEATSHEET | |
;; | |
;; * :require makes functions available with a namespace prefix | |
;; and optionally can refer functions to the current ns. | |
;; | |
;; * :import refers Java classes to the current namespace. | |
;; | |
;; * :refer-clojure affects availability of built-in (clojure.core) | |
;; functions. |