mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-06 08:28:27 +00:00
8151845: Comment in globals.hpp for MetaspaceSize is incorrect
Reviewed-by: drwhite, stefank
This commit is contained in:
parent
1402ff0f5d
commit
e779c07cfb
@ -1573,7 +1573,7 @@ void MetaspaceGC::compute_new_size() {
|
||||
} else {
|
||||
_shrink_factor = MIN2(current_shrink_factor * 4, (uint) 100);
|
||||
}
|
||||
log_trace(gc, metaspace)(" shrinking: initSize: %.1fK maximum_desired_capacity: %.1fK",
|
||||
log_trace(gc, metaspace)(" shrinking: initThreshold: %.1fK maximum_desired_capacity: %.1fK",
|
||||
MetaspaceSize / (double) K, maximum_desired_capacity / (double) K);
|
||||
log_trace(gc, metaspace)(" shrink_bytes: %.1fK current_shrink_factor: %d new shrink factor: %d MinMetaspaceExpansion: %.1fK",
|
||||
shrink_bytes / (double) K, current_shrink_factor, _shrink_factor, MinMetaspaceExpansion / (double) K);
|
||||
|
||||
@ -3245,7 +3245,8 @@ public:
|
||||
range(0, max_uintx) \
|
||||
\
|
||||
product_pd(size_t, MetaspaceSize, \
|
||||
"Initial size of Metaspaces (in bytes)") \
|
||||
"Initial threshold (in bytes) at which a garbage collection " \
|
||||
"is done to reduce Metaspace usage") \
|
||||
constraint(MetaspaceSizeConstraintFunc,AfterErgo) \
|
||||
\
|
||||
product(size_t, MaxMetaspaceSize, max_uintx, \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user