< prev index next >
share/gc/parallel/adjoiningVirtualSpaces.hpp
Print this page
rev 1 : G1GC+POGC+NVDIMM Patch with latest comments incorporated from all.
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2018, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -73,10 +73,12 @@
// Same for the high space
size_t _min_high_byte_size;
const size_t _alignment;
+ int _nvdimm_fd;
+
public:
// Allocates two virtual spaces that will be located at the
// high and low ends. Does no initialization.
AdjoiningVirtualSpaces(ReservedSpace rs,
size_t min_low_byte_size,
@@ -108,8 +110,10 @@
// Sets the boundaries for the virtual spaces and commits and
// initial size;
void initialize(size_t max_low_byte_size,
size_t init_low_byte_size,
size_t init_high_byte_size);
+ void setup_fd(int fd) {_nvdimm_fd = fd; }
+ int nvdimm_fd() const {return _nvdimm_fd; }
};
#endif // SHARE_VM_GC_PARALLEL_ADJOININGVIRTUALSPACES_HPP
< prev index next >