< prev index next >
hotspot/src/share/vm/runtime/arguments_ext.hpp
Print this page
rev 6911 : 8065305: Make it possible to extend the G1CollectorPolicy
Summary: Added a G1CollectorPolicyExt where it is possible to extend the class.
Reviewed-by: sjohanss, tschatzl
*** 29,56 ****
#include "runtime/arguments.hpp"
class ArgumentsExt: AllStatic {
public:
static inline void select_gc_ergonomically();
! static inline bool check_gc_consistency_user();
static inline bool check_gc_consistency_ergo();
- static inline bool check_vm_args_consistency();
static void process_options(const JavaVMInitArgs* args) {}
};
void ArgumentsExt::select_gc_ergonomically() {
Arguments::select_gc_ergonomically();
}
! bool ArgumentsExt::check_gc_consistency_user() {
! return Arguments::check_gc_consistency_user();
}
bool ArgumentsExt::check_gc_consistency_ergo() {
return Arguments::check_gc_consistency_ergo();
}
- bool ArgumentsExt::check_vm_args_consistency() {
- return Arguments::check_vm_args_consistency();
- }
-
#endif // SHARE_VM_RUNTIME_ARGUMENTS_EXT_HPP
--- 29,51 ----
#include "runtime/arguments.hpp"
class ArgumentsExt: AllStatic {
public:
static inline void select_gc_ergonomically();
! static inline void set_gc_specific_flags();
static inline bool check_gc_consistency_ergo();
static void process_options(const JavaVMInitArgs* args) {}
};
void ArgumentsExt::select_gc_ergonomically() {
Arguments::select_gc_ergonomically();
}
! void ArgumentsExt::set_gc_specific_flags() {
! Arguments::set_gc_specific_flags();
}
bool ArgumentsExt::check_gc_consistency_ergo() {
return Arguments::check_gc_consistency_ergo();
}
#endif // SHARE_VM_RUNTIME_ARGUMENTS_EXT_HPP
< prev index next >