Projects
Mega:23.09
openjdk-1.8.0
_service:tar_scm:fix_g1uncommit_ygc_expand_cras...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:fix_g1uncommit_ygc_expand_crash.patch of Package openjdk-1.8.0
diff --git a/hotspot/src/share/vm/gc_implementation/g1/heapRegionManager.cpp b/hotspot/src/share/vm/gc_implementation/g1/heapRegionManager.cpp index 6ad85596..818f6681 100644 --- a/hotspot/src/share/vm/gc_implementation/g1/heapRegionManager.cpp +++ b/hotspot/src/share/vm/gc_implementation/g1/heapRegionManager.cpp @@ -241,8 +241,8 @@ uint HeapRegionManager::expand_at(uint start, uint num_regions) { uint HeapRegionManager::expand_on_preferred_node(uint preferred_index) { uint expand_candidate = UINT_MAX; for (uint i = 0; i < max_length(); i++) { - if (is_available(i)) { - // Already in use continue + if (!can_expand(i)) { + // Already in use or in uncommit list continue continue; } // Always save the candidate so we can expand later on.
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2