mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8234737: Harmonize parameter order in Atomic - add
Reviewed-by: rehn, dholmes
This commit is contained in:
parent
8db2c1158e
commit
d45ec50076
82 changed files with 234 additions and 229 deletions
|
@ -2813,7 +2813,7 @@ void linux_wrap_code(char* base, size_t size) {
|
|||
}
|
||||
|
||||
char buf[PATH_MAX+1];
|
||||
int num = Atomic::add(1, &cnt);
|
||||
int num = Atomic::add(&cnt, 1);
|
||||
|
||||
snprintf(buf, sizeof(buf), "%s/hs-vm-%d-%d",
|
||||
os::get_temp_directory(), os::current_process_id(), num);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue