Skip to content

Commit

Permalink
Fix Typo in method name
Browse files Browse the repository at this point in the history
Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
  • Loading branch information
dsouzai committed Aug 13, 2020
1 parent b84f89b commit ad40675
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions runtime/compiler/env/J9SharedCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ TR_J9SharedCache::isOffsetInCache(const J9SharedClassCacheDescriptor *cacheDesc,
}

bool
TR_J9SharedCache::isPointerInMetadataSectionSectionInCache(const J9SharedClassCacheDescriptor *cacheDesc, void *ptr)
TR_J9SharedCache::isPointerInMetadataSectionInCache(const J9SharedClassCacheDescriptor *cacheDesc, void *ptr)
{
bool isPointerInMetadataSection = false;
#if defined(J9VM_OPT_SHARED_CLASSES) && (defined(TR_HOST_X86) || defined(TR_HOST_POWER) || defined(TR_HOST_S390) || defined(TR_HOST_ARM) || defined(TR_HOST_ARM64))
Expand Down Expand Up @@ -744,7 +744,7 @@ TR_J9SharedCache::isPointerInSharedCache(void *ptr, uintptr_t *cacheOffset)
J9SharedClassCacheDescriptor *curCache = firstCache;
do
{
if (isPointerInMetadataSectionSectionInCache(curCache, ptr))
if (isPointerInMetadataSectionInCache(curCache, ptr))
{
if (cacheOffset)
{
Expand All @@ -759,7 +759,7 @@ TR_J9SharedCache::isPointerInSharedCache(void *ptr, uintptr_t *cacheOffset)
while (curCache != firstCache);
#else // !J9VM_OPT_MULTI_LAYER_SHARED_CLASS_CACHE
J9SharedClassCacheDescriptor *curCache = getCacheDescriptorList();
if (isPointerInMetadataSectionSectionInCache(curCache, ptr))
if (isPointerInMetadataSectionInCache(curCache, ptr))
{
if (cacheOffset)
{
Expand Down
4 changes: 2 additions & 2 deletions runtime/compiler/env/J9SharedCache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ class TR_J9SharedCache : public TR_SharedCache
* \param[in] ptr The pointer to check
* \return True if ptr is within the metadata section of the SCC, false otherwise
*/
virtual bool isPointerInMetadataSectionSectionInCache(const J9SharedClassCacheDescriptor *cacheDesc, void *ptr);
virtual bool isPointerInMetadataSectionInCache(const J9SharedClassCacheDescriptor *cacheDesc, void *ptr);

/**
* \brief Helper method; used to check if an offset is within the metadata section of the SCC
Expand Down Expand Up @@ -590,7 +590,7 @@ class TR_J9JITServerSharedCache : public TR_J9SharedCache

private:

virtual bool isPointerInMetadataSectionSectionInCache(const J9SharedClassCacheDescriptor *cacheDesc, void *ptr)
virtual bool isPointerInMetadataSectionInCache(const J9SharedClassCacheDescriptor *cacheDesc, void *ptr)
{
return isPointerInCache(cacheDesc, ptr);
}
Expand Down

0 comments on commit ad40675

Please sign in to comment.