--- old/src/share/vm/memory/virtualspace.hpp 2016-11-03 14:16:42.000000000 -0700 +++ new/src/share/vm/memory/virtualspace.hpp 2016-11-03 14:16:42.000000000 -0700 @@ -184,6 +184,14 @@ char* low_boundary() const { return _low_boundary; } char* high_boundary() const { return _high_boundary; } +#if INCLUDE_AOT + // Set boundaries for code section in AOT library. + void set_low_boundary(char *p) { _low_boundary = p; } + void set_high_boundary(char *p) { _high_boundary = p; } + void set_low(char *p) { _low = p; } + void set_high(char *p) { _high = p; } +#endif + bool special() const { return _special; } public: