Commit Graph

25 Commits

Author SHA1 Message Date
Joel Dice
d1018bf078 update copyright years 2009-03-15 12:02:36 -06:00
Joel Dice
6e6035505c zero heap space ahead of time when allocating raw storage and garbage collecting, not when allocating individual objects
This helps us support the Java Memory Model without adding a memory
barrier to every object allocation.  It's also potentially more
efficient, since we zero out each heap segment all at once instead of
bit-by-bit with each object allocation.
2009-03-03 20:05:48 -07:00
Joel Dice
25ade1484a lots of bugfixes and refactoring 2008-12-01 19:38:00 -07:00
Joel Dice
fb9b2bf173 avoid creating garbage when iterating over hashmaps 2008-11-22 16:38:41 -07:00
Joel Dice
4392b04fd0 avoid creating unecessary garbage in treeInsertNode and friends 2008-11-22 16:25:35 -07:00
Joel Dice
2e2925c321 fix backwards logic in treeMapInsert which prevented correct balancing 2008-11-22 14:14:52 -07:00
Joel Dice
297e8f09ec don't calculate the index in hashMapInsert until it's needed 2008-08-11 16:44:38 -06:00
Joel Dice
5f4d86a703 avoid potential corruption in hashMapInsert due to table-resize-on-GC 2008-08-11 15:20:12 -06:00
Joel Dice
623b5f84dc fix GC-in-hashMapResize bug which occasionally resulted in corrupt Machine::monitorMap 2008-07-12 10:38:09 -06:00
Joel Dice
9c82bd2386 Merge branch 'master' of oss.readytalk.com:/var/local/git/avian 2008-07-11 22:01:57 -06:00
Joel Dice
fcd4f0c8f5 third attempt to properly fix race condition in compile function 2008-07-11 22:01:42 -06:00
Joel Dice
fa3ceb0a75 add assertions to hashMapResize and hashMapRemove to help debug rare infinite loop 2008-07-11 19:26:46 -06:00
Joel Dice
31e5e4c286 fix GC safety bugs in leftRotate and rightRotate 2008-04-11 18:05:03 -06:00
Joel Dice
7eef2e7918 fix GC safety bug in cloneTreeNode 2008-04-11 17:40:36 -06:00
Joel Dice
2cf62a5926 various bugfixes in new stack trace code 2008-04-10 17:48:28 -06:00
Joel Dice
ebffc5852c various search tree fixes 2008-04-07 18:14:59 -06:00
Joel Dice
2dba75d7f2 fix reversed logic in treeNodeRed 2008-04-07 18:03:16 -06:00
Joel Dice
7ee29d4939 progress towards general stack trace support 2008-04-07 17:47:41 -06:00
Joel Dice
50040b24f5 remove unused code from util.cpp 2008-03-21 14:33:44 -06:00
Joel Dice
2edaa82801 prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
Joel Dice
ee60d48cfe fix subtle bug in hashMapInsert which caused us to update the old array previously associated with the hash map, whereas a GC causes the table to be resized when a weak reference is removed and thus a new array used 2008-01-19 13:12:16 -07:00
Joel Dice
286f290665 more JIT progress 2007-12-10 17:48:09 -07:00
Joel Dice
6ac124f2fb protect local variables in red-black tree implementation from GC 2007-11-27 08:46:31 -07:00
Joel Dice
466c958d2b implement persistent red-black tree in util.cpp based on PersistentSet.java 2007-11-26 18:40:47 -07:00
Joel Dice
0bbe9489a7 flesh out call tracing in new JIT code 2007-11-26 16:15:53 -07:00