E-Book Overview
Memory Management: Algorithms and Implementation in C/C++ presents several concrete implementations of garbage collection and explicit memory management algorithms. Every implementation is complemented by an in-depth presentation of theory, followed by benchmark tests, a complete listing of C/C++ source code, and a discussion of each implementation's trade-offs.With this book, you can:Find out how memory is managed at the hardware level by the processor.Discover the ways in which different operating systems take advantage of processor facilities to provide memory services via the system call interface.Understand how development libraries and run-time systems build upon the operating system services to manage memory on behalf of user applications.Learn about five complete memory management subsystems that utilize both explicit and automatic collection algorithms.
E-Book Content
Memory Management Algorithms and Implementation in C/C++
by Bill Blunden
Wordware Publishing, Inc.
Library of Congress Cataloging-in-Publication Data Blunden, Bill, 1969Memory management: algorithms and implementation in C/C++ / by Bill Blunden. p. cm. Includes bibliographical references and index. ISBN 1-55622-347-1 1. Memory management (Computer science) 2. Computer algorithms. 3. C (Computer program language) 4. C++ (Computer program language) I. Title. QA76.9.M45 .B558 2002 005.4'35--dc21 2002012447 CIP
© 2003, Wordware Publishing, Inc. All Rights Reserved 2320 Los Rios Boulevard Plano, Texas 75074
No part of this book may be reproduced in any form or by any means without permission in writing from Wordware Publishing, Inc. Printed in the United States of America
ISBN 1-55622-347-1 10 9 8 7 6 5 4 3 2 1 0208
Product names mentioned are used for identification purposes only and may be trademarks of their respective companies.
Al