< prev index next >
src/hotspot/share/memory/vtBuffer.cpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2016, 2016, 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.
--- 1,7 ----
/*
! * Copyright (c) 2016, 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.
*** 44,54 ****
address VTBuffer::_base = NULL;
address VTBuffer::_commit_ptr;
size_t VTBuffer::_size;
void VTBuffer::init() {
! if ((!(EnableValhalla || EnableMVT)) || ValueTypesBufferMaxMemory == 0) {
_base = NULL;
_commit_ptr = NULL;
_size = 0;
return;
}
--- 44,54 ----
address VTBuffer::_base = NULL;
address VTBuffer::_commit_ptr;
size_t VTBuffer::_size;
void VTBuffer::init() {
! if ((!EnableValhalla) || ValueTypesBufferMaxMemory == 0) {
_base = NULL;
_commit_ptr = NULL;
_size = 0;
return;
}
< prev index next >