summaryrefslogtreecommitdiff
path: root/src/jvm
AgeCommit message (Collapse)Author
2010-10-19consolidate reload preamblesRich Hickey
2010-10-18Stable var caching. The values of non-dynamic ns-resolved (def'ed) vars ↵Rich Hickey
appearing by name in code are fixed at fn entry point, and will be cached for subsequent calls until the vars change (e.g. via a new def). Access to unbound vars will not always throw an exception, and may instead return Unbound objects. These Unbound objects throw exceptions when invoked. Note that modifications of var roots in a fn body will not be seen by the code compiled against those names in the same fn body. If you want to treat top-level vars as boxes, use #' This change allows the overhead of placing things in vars and small wrapper fns to be substantially eliminated.
2010-10-18neuter :staticRich Hickey
2010-10-18Merge branch 'master' into directRich Hickey
2010-10-18tweak int coercion perfRich Hickey
2010-10-18support primitive = for longs and doublesRich Hickey
2010-10-18don't recache matched target class in protocall call siteRich Hickey
2010-10-15require dynamically rebindable vars be explicitly declared dynamic, via ↵Rich Hickey
^:dynamic metadata support in def, or setDynamic builder method in Var. Also auto-enable :dynamic for *var*s as a bridge - prints warning, and will be removed before release.
2010-10-15Merge branch 'direct'Rich Hickey
2010-10-15binding conveyance to future calls and agent sendsRich Hickey
2010-10-15make method impl cache most recent entry non-volatileRich Hickey
2010-10-15make PersistentQueue count O(1)Justin Balthrop
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-14remove Symbol.create, all callers use Symbol.intern #182Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-14get rid of @OverrideRich Hickey
2010-10-12#378 set thread names on agent thread poolsAlex Miller
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-12DRY up refs to DOC_KEY #280Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-12add docstring support to defBenjamin Teuber
code is a bit ugly, but touches as few lines as possible to not introduce anything nasty Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-12fixes and tests for #276 find-keywordStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-12#276 find-keywordBrian Hurt
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-11Print SOURCE_PATH rather than SOURCE on exception, so it's easier to ↵Allen Rohner
discover the file with an error when two files have the same name in different directories. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-02Add "starting at <line>" to readDelimitedList EOF errorsChouser
Refs #249 Signed-off-by: Chouser <chouser@n01se.net>
2010-09-28don't rely on softref queue, explicitly remove dead entry when found, fixes #444Rich Hickey
2010-09-28don't coerce pre-boxed Integers and Floats to Longs/Doubles, fixes #439Rich Hickey
2010-09-22stop early-loading ancillary libs, #425Alan Dipert and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-09-09improved reporting of compilation errors, added depth control to pst, got ↵Rich Hickey
rid of overlap in cause traces
2010-09-08don't box static method returns in statement contextRich Hickey
2010-08-22Merged branch 'master' into equivmergeRich Hickey
Conflicts were: src/clj/clojure/core.clj src/jvm/clojure/lang/Compiler.java src/jvm/clojure/lang/Util.java test/clojure/test_clojure/protocols.clj
2010-08-13Emit finally exception table entry for each try/catch clause. Refs #422Chouser
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-08-04fix record equality with other maps, = includes type, .equals doesn't. see #418Rich Hickey
2010-07-16use soft refs for keyword intern tableRich Hickey
2010-07-16factor out cache clearing to Util helperRich Hickey
2010-07-16switch to soft refs in DynamicClassLoaderRich Hickey
2010-06-30#391 ok for namespaces to replace their own varsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-30clean out dead entries in dynamic class cacheRich Hickey
2010-06-25incorporate BigIntequivRich Hickey
2010-06-23box longs-and-smaller as longsRich Hickey
2010-06-23add hashCode/equals to BigInt, refine number =, new method equal checks for ↵Rich Hickey
matching category before equivalence, move array and hashMap to equiv for keys
2010-06-23Initial version of BigInt -- note overflow caps/rolls over inconsistentlyChouser
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2010-06-23equiv-based =, equiv overloading for UtilRich Hickey
2010-06-23disable direct binding (and internal reduce with it, for now)Rich Hickey
2010-06-21auto-box loop arg when primitive local recur mismatch, print warning that ↵equalRich Hickey
this is happening when *warn-on-reflection* is true
2010-06-19restore hard error on primitive local recur mismatchRich Hickey
2010-06-18print recur mismatch warnings, for nowRich Hickey
2010-06-18Allow ' as constituent characterRich Hickey
Bigints auto-reduce in all cases Restore +, *, -, inc, dec as auto-promoting ops, will never return primitive integers, will auto-promote even when given primitives. Add +', *', -', inc', dec', that do exactly what their counterparts do except when given integers of long or smaller, in which case they will not auto-promote but instead throw on overflow, and can return primitives. Return primitive doubles on all ops involving primitive doubles Box on long ops only after checking for overflow
2010-06-17Change = to include type of boxed numbers (and collections thereof). Use == ↵Rich Hickey
for inter-type numeric equivalence.
2010-06-17Util.equals unboxed support for long/doublenumRich Hickey
2010-06-17tighten up narrowing conversion checksRich Hickey
2010-06-16return bigints from ratio ops only when bigint operandRich Hickey
2010-06-16bigdecs trump ratios when combinedRich Hickey
2010-06-16canonic boxing of floats and longs in array seqsRich Hickey