mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8259862: MutableSpace's end should be atomic
Make _end volatile and use atomic access Reviewed-by: ayang, tschatzl
This commit is contained in:
parent
d2bd499222
commit
1e0a1013ef
4 changed files with 15 additions and 20 deletions
|
@ -200,9 +200,6 @@ class ParallelScavengeHeap : public CollectedHeap {
|
|||
|
||||
bool supports_inline_contig_alloc() const { return !UseNUMA; }
|
||||
|
||||
HeapWord* volatile* top_addr() const { return !UseNUMA ? young_gen()->top_addr() : (HeapWord* volatile*)-1; }
|
||||
HeapWord** end_addr() const { return !UseNUMA ? young_gen()->end_addr() : (HeapWord**)-1; }
|
||||
|
||||
void ensure_parsability(bool retire_tlabs);
|
||||
void resize_all_tlabs();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue