< prev index next >
src/share/vm/gc/g1/g1CodeCacheRemSet.hpp
Print this page
rev 11782 : 8164230: Convert TestCodeCacheRemSet_test to GTest
Reviewed-by: duke
*** 1,7 ****
/*
! * Copyright (c) 2014, 2015, 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) 2014, 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.
*** 26,36 ****
#define SHARE_VM_GC_G1_G1CODECACHEREMSET_HPP
#include "memory/allocation.hpp"
class CodeBlobClosure;
! class CodeRootSetTable;
class HeapRegion;
class nmethod;
// Implements storage for a set of code roots.
// All methods that modify the set are not thread-safe except if otherwise noted.
--- 26,36 ----
#define SHARE_VM_GC_G1_G1CODECACHEREMSET_HPP
#include "memory/allocation.hpp"
class CodeBlobClosure;
! class G1CodeRootSetTable;
class HeapRegion;
class nmethod;
// Implements storage for a set of code roots.
// All methods that modify the set are not thread-safe except if otherwise noted.
*** 40,51 ****
const static size_t SmallSize = 32;
const static size_t Threshold = 24;
const static size_t LargeSize = 512;
! CodeRootSetTable* _table;
! CodeRootSetTable* load_acquire_table();
size_t _length;
void move_to_large();
void allocate_small_table();
--- 40,51 ----
const static size_t SmallSize = 32;
const static size_t Threshold = 24;
const static size_t LargeSize = 512;
! G1CodeRootSetTable* _table;
! G1CodeRootSetTable* load_acquire_table();
size_t _length;
void move_to_large();
void allocate_small_table();
< prev index next >