30 Commits

Author SHA1 Message Date
beard%netscape.com
1d6468ef1c added stub for GC_malloc_atomic() to fix bustage. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@60072 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 05:48:20 +00:00
beard%netscape.com
01a5d5daf9 bug #15906, moved stubs from NSStartup.c to nsGCStubs.c.
git-svn-id: svn://10.0.0.236/trunk@53482 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 03:44:13 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
sfraser%netscape.com
28261a4ca0 Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. Leave more free space in the heap for image (GWorld) pixels. r=pnunn, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@52813 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-04 22:29:02 +00:00
beard%netscape.com
afdb749e2c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@52669 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 04:26:41 +00:00
beard%netscape.com
a27e6a0c95 when GC_DEBUG is off, try to use GC_malloc_ignore_off_page for large blocks. Since GC_MALLOC always returns cleared blocks, don't bother clearning. r=gordon, bug=15906
git-svn-id: svn://10.0.0.236/trunk@51331 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 00:17:28 +00:00
beard%netscape.com
4bfae77628 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@44742 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 04:08:09 +00:00
gordon%netscape.com
6262706d53 File Removed.
git-svn-id: svn://10.0.0.236/trunk@37414 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 18:14:21 +00:00
sfraser%netscape.com
86400388d0 Fix for bug 4051 -- with large memory allocation, quit on launch. Was a numeric overflow in the memory manager initialization.
git-svn-id: svn://10.0.0.236/trunk@32882 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:12:22 +00:00
sfraser%netscape.com
0303ea33b9 Add an optimization in the large heap allocators which keeps track of the largest contiguous free block in each chunk.
git-svn-id: svn://10.0.0.236/trunk@18547 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:08:54 +00:00
sfraser%netscape.com
ab55f7150c Various optimizations in the memory allocators as fix for bug 2254. Also now zap the contents of allocated and freed blocks.
git-svn-id: svn://10.0.0.236/trunk@18227 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 00:20:06 +00:00
sfraser%netscape.com
2534046117 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18217 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:35:30 +00:00
sfraser%netscape.com
ad8275889f Added a #pragma error noting that this file is obsolete, but remains for reference reasons.
git-svn-id: svn://10.0.0.236/trunk@18216 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:35:08 +00:00
sfraser%netscape.com
cfae70862f Commented out obsolete PowerPlant includes
git-svn-id: svn://10.0.0.236/trunk@18215 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:34:32 +00:00
sfraser%netscape.com
742a738b0d Change BlockZero to memset.
git-svn-id: svn://10.0.0.236/trunk@15866 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:41:14 +00:00
sfraser%netscape.com
a4f2af2a2b Allocators now use shared heap zones, for better temp mem use. Other minor changes.
git-svn-id: svn://10.0.0.236/trunk@15864 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:04:36 +00:00
sfraser%netscape.com
0133d979ad Remove the Flush_ calls, and tidy up new().
git-svn-id: svn://10.0.0.236/trunk@15861 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:02:10 +00:00
sfraser%netscape.com
3bbad8c38d Dumping out my latest memory manager changes. Still not being built yet. New code includes stats collection, but no way to write out stats at the moment.
git-svn-id: svn://10.0.0.236/trunk@15756 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 02:21:19 +00:00
sfraser%netscape.com
af6b5cff3e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15658 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:45:32 +00:00
saari%netscape.com
ac3cfc4391 Mac only change to Mac memory allocator.
Checking in John McMullen's change to the small block allocator.


git-svn-id: svn://10.0.0.236/trunk@12974 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 04:52:44 +00:00
saari%netscape.com
78e84e6836 Merged sfraser's realloc improvements for the Mac memory allocator from Nova to Mozilla.
Referenced by bug #326465


git-svn-id: svn://10.0.0.236/trunk@11961 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 23:00:21 +00:00
pinkerton%netscape.com
250e6f2dc9 casts to make pro4 compiler happy
git-svn-id: svn://10.0.0.236/trunk@11404 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:32:11 +00:00
pinkerton%netscape.com
d7ae588afc carbon stuff.
git-svn-id: svn://10.0.0.236/trunk@11387 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:25:31 +00:00
pinkerton%netscape.com
ba1aa5767d add new[] and delete[] and fix other stuff (get rid of flushAlloc, etc)
git-svn-id: svn://10.0.0.236/trunk@11382 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:23:18 +00:00
pinkerton%netscape.com
870556b705 Pro4 mods (casts).
git-svn-id: svn://10.0.0.236/trunk@11362 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:11:45 +00:00
cyeh%netscape.com
5b7e92b84d removing old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11258 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:38:02 +00:00
saari%netscape.com
3cac2c90bd Fixing a checkin error for the MacMemAllocator changes.
This fixes some recent instability in Mac Grommit.


git-svn-id: svn://10.0.0.236/trunk@7499 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:21:29 +00:00
saari%netscape.com
b88d0a311b Merging in sfraser's MacMemAllocator changes from 4.5, along with improved MacMemAllocator/cache behavior.
git-svn-id: svn://10.0.0.236/trunk@7272 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:50:56 +00:00
saari%netscape.com
f0f8f6a60e Merging sfraser's MacMemAllocator changes from 4.5
git-svn-id: svn://10.0.0.236/trunk@5966 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 18:10:48 +00:00
ltabb
8ed5afe62c Free the lizard
git-svn-id: svn://10.0.0.236/trunk@10 18797224-902f-48f8-a5cc-f745e15eee43
1998-03-28 02:44:41 +00:00