Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/os.hpp @ 14309:63a4eb8bcd23
8025856: Fix typos in the GC code
Summary: Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author | jwilhelm |
---|---|
date | Thu, 23 Jan 2014 14:47:23 +0100 |
parents | da051ce490eb |
children | 2c95095271e9 |
comparison
equal
deleted
inserted
replaced
14308:870aedf4ba4f | 14309:63a4eb8bcd23 |
---|---|
393 // Previously this function calculated the exact address of this | 393 // Previously this function calculated the exact address of this |
394 // thread's serialize page, and checked if the faulting address | 394 // thread's serialize page, and checked if the faulting address |
395 // was equal. However, some platforms mask off faulting addresses | 395 // was equal. However, some platforms mask off faulting addresses |
396 // to the page size, so now we just check that the address is | 396 // to the page size, so now we just check that the address is |
397 // within the page. This makes the thread argument unnecessary, | 397 // within the page. This makes the thread argument unnecessary, |
398 // but we retain the NULL check to preserve existing behaviour. | 398 // but we retain the NULL check to preserve existing behavior. |
399 if (thread == NULL) return false; | 399 if (thread == NULL) return false; |
400 address page = (address) _mem_serialize_page; | 400 address page = (address) _mem_serialize_page; |
401 return addr >= page && addr < (page + os::vm_page_size()); | 401 return addr >= page && addr < (page + os::vm_page_size()); |
402 } | 402 } |
403 | 403 |
538 // Find out whether the pc is in the static code for jvm.dll/libjvm.so. | 538 // Find out whether the pc is in the static code for jvm.dll/libjvm.so. |
539 static bool address_is_in_vm(address addr); | 539 static bool address_is_in_vm(address addr); |
540 | 540 |
541 // Loads .dll/.so and | 541 // Loads .dll/.so and |
542 // in case of error it checks if .dll/.so was built for the | 542 // in case of error it checks if .dll/.so was built for the |
543 // same architecture as Hotspot is running on | 543 // same architecture as HotSpot is running on |
544 static void* dll_load(const char *name, char *ebuf, int ebuflen); | 544 static void* dll_load(const char *name, char *ebuf, int ebuflen); |
545 | 545 |
546 // lookup symbol in a shared library | 546 // lookup symbol in a shared library |
547 static void* dll_lookup(void* handle, const char* name); | 547 static void* dll_lookup(void* handle, const char* name); |
548 | 548 |