Skip to content
This repository
Newer
Older
100644 44 lines (37 sloc) 1.047 kb
7258d74b » Leopold Toetsch
2004-04-02 continuation and stack recycling
1 /* caches.h
8ee1ad72 » allisonrandal
2009-02-17 [cage] Updating copyright in whole repository to Parrot Foundation.
2 * Copyright (C) 2001-2004, Parrot Foundation.
7258d74b » Leopold Toetsch
2004-04-02 continuation and stack recycling
3 * Overview:
4 * Cache and direct freelist handling for various items.
5 * Data Structure and Algorithms:
6 * History:
7 * Notes:
8 * References:
9 */
10
5a512696 » bschmalhofer
2007-05-05 #42883: [PATCH] Fix up headerfile guards
11 #ifndef PARROT_CACHES_H_GUARD
7258d74b » Leopold Toetsch
2004-04-02 continuation and stack recycling
12 #define PARROT_CACHES_H_GUARD
13
14 #define DISABLE_METH_CACHE 0
7ad9b359 » Leopold Toetsch
2004-09-10 misc fixes
15
16 /* turn off this hack, we need something better */
17 #define DISABLE_RETC_RECYCLING 1
7258d74b » Leopold Toetsch
2004-04-02 continuation and stack recycling
18
19 /*
20 * object method cache entry
21 */
22 typedef struct _meth_cache_entry {
23 void * strstart; /* string address */
24 PMC * pmc; /* the method sub pmc */
25 struct _meth_cache_entry *next;
26 } Meth_cache_entry;
27
28 /*
04db9980 » Leopold Toetsch
2004-04-06 stub in run_meth_fromc functions
29 * method cache, continuation freelist, stack chunk freelist, regsave cache
7258d74b » Leopold Toetsch
2004-04-02 continuation and stack recycling
30 */
31 typedef struct _Caches {
32 UINTVAL mc_size; /* sizeof table */
33 Meth_cache_entry ***idx; /* bufstart idx */
34 /* PMC **hash */ /* for non-constant keys */
35 } Caches;
36
76123367 » Leopold Toetsch
2004-04-22 [perl #29034] [PATCH] miscellaneous cleanup and PDD07-conformance
37 #endif /* PARROT_CACHES_H_GUARD */
7258d74b » Leopold Toetsch
2004-04-02 continuation and stack recycling
38
39 /*
40 * Local variables:
f4ddb4fe » particle
2006-09-20 [PDD07]:
41 * c-file-style: "parrot"
7258d74b » Leopold Toetsch
2004-04-02 continuation and stack recycling
42 * End:
1d7dded8 » plobsing
2010-11-29 update C file vim modelines
43 * vim: expandtab shiftwidth=4 cinoptions='\:2=2' :
f4ddb4fe » particle
2006-09-20 [PDD07]:
44 */
Something went wrong with that request. Please try again.