--- old/share/gc/parallel/adjoiningVirtualSpaces.hpp 2018-06-12 04:14:34.635190793 -0700 +++ new/share/gc/parallel/adjoiningVirtualSpaces.hpp 2018-06-12 04:14:34.595190792 -0700 @@ -1,5 +1,5 @@ /* - * 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 @@ -75,6 +75,8 @@ 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. @@ -110,6 +112,8 @@ 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