--- old/src/share/vm/memory/heap.hpp 2010-11-10 13:14:15.000000000 +0100 +++ new/src/share/vm/memory/heap.hpp 2010-11-10 13:14:14.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -22,6 +22,12 @@ * */ +#ifndef SHARE_VM_MEMORY_HEAP_HPP +#define SHARE_VM_MEMORY_HEAP_HPP + +#include "memory/allocation.hpp" +#include "runtime/virtualspace.hpp" + // Blocks class HeapBlock VALUE_OBJ_CLASS_SPEC { @@ -159,3 +165,5 @@ void verify(); void print() PRODUCT_RETURN; }; + +#endif // SHARE_VM_MEMORY_HEAP_HPP