Update of /cvsroot/monetdb/MonetDB5/src/modules/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2062/modules/mal

Modified Files:
        Makefile.ag mal_init.mx 
Added Files:
        recycle.mx 
Log Message:
This is a test checkin for the compilers 

It introduces the third  recycle framework, which hooks into the
interpreter directly without spelling out the signatures.
The marking of the instructions (actually the variables) should be 
done still. 


Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/Makefile.ag,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -d -r1.114 -r1.115
--- Makefile.ag 21 Jan 2008 08:05:41 -0000      1.114
+++ Makefile.ag 1 Mar 2008 22:52:36 -0000       1.115
@@ -31,7 +31,7 @@
                inspect.mx manual.mx \
                factory.mx mdb.mx  \
                urlbox.mx mat.mx \
-               sabaoth.mx remote.mx batxml.mx txtsim.mx
+               sabaoth.mx remote.mx batxml.mx txtsim.mx recycle.mx
                #radix.mx 
 
        LIBS = ../../mal/libmal ../atoms/lib_xml $(MONETDB_LIBS) -lbat -lstream 
$(MATH_LIBS) \
@@ -149,7 +149,7 @@
                inspect.mx manual.mx \
                factory.mx mdb.mx  \
                urlbox.mx mat.mx \
-               sabaoth.mx remote.mx batxml.mx 
+               sabaoth.mx remote.mx batxml.mx  recycle.mx
                #radix.mx 
 
        HEADERS = h 
@@ -165,7 +165,7 @@
                factory.mx mdb.mx pcre.mx  tablet.mx mat.mx \
                urlbox.mx statistics.mx transaction.mx \
                mal_mapi.mx sabaoth.mx remote.mx \
-               bpm.mx batxml.mx txtsim.mx
+               bpm.mx batxml.mx txtsim.mx recycle.mx
        #radix.mx
 }
 

Index: mal_init.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/mal_init.mx,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -d -r1.128 -r1.129
--- mal_init.mx 28 Jan 2008 08:00:18 -0000      1.128
+++ mal_init.mx 1 Mar 2008 22:52:36 -0000       1.129
@@ -155,6 +155,7 @@
 include mal_io;
 include tablet;
 include factory;
+include recycle;
 
 # experimental
 include mat;
@@ -194,6 +195,7 @@
 include opt_reduce;
 include opt_remap;
 include opt_replicator;
+include opt_recycler;
 include opt_singleton;
 include opt_strengthReduction;
 include opt_statistics;

--- NEW FILE: recycle.mx ---
@' The contents of this file are subject to the MonetDB Public License
@' Version 1.1 (the "License"); you may not use this file except in
@' compliance with the License. You may obtain a copy of the License at
@' http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html
@'
@' Software distributed under the License is distributed on an "AS IS"
@' basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
@' License for the specific language governing rights and limitations
@' under the License.
@'
@' The Original Code is the MonetDB Database System.
@'
@' The Initial Developer of the Original Code is CWI.
@' Portions created by CWI are Copyright (C) 1997-2008 CWI.
@' All Rights Reserved.

@a M. Ivanova, M. Kersten
@f recycle
@- The Recycler
Just the interface to the recycler.
@{
@-
The Recycler should be a variation of the interpreter
which inspects the variable table for alternative results.
@mal
module recycle;

pattern start():void
address RECYCLEstart
comment "Initialize recycler for the current block";

pattern stop():void
address RECYCLEstop
comment "Cleans recycler bookkeeping";

command dump():void
address RECYCLEdump
comment "Dump summary of recycle table for potential re-use benefits";

command setRetainPolicy(p:sht):void
address RECYCLEsetRetain
comment "Set recycler retainment policy";

command setReusePolicy(p:sht):void
address RECYCLEsetReuse
comment "Set recycler reuse policy";

command setCachePolicy(p:sht):void
address RECYCLEsetCache
comment "Set recycler cache policy";

@h
#ifndef _RECYCLE_
#define _RECYCLE_

#include "mal.h"
#include "mal_recycle.h"

#endif
@-
@c
#include "mal_config.h"
#include "recycle.h"

@}


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to