Skip to content

Commit

Permalink
Fix line ending check failures.
Browse files Browse the repository at this point in the history
Signed-off-by: Hang Shao <[email protected]>
  • Loading branch information
hangshao0 committed Oct 16, 2024
1 parent e216f6f commit f357721
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion runtime/nls/shrc/j9shr.nls
Original file line number Diff line number Diff line change
Expand Up @@ -6965,7 +6965,7 @@ J9NLS_SHRC_SHRINIT_HELPTEXT_EXTRA_STARTUPHINTS_EQUALS.system_action=
J9NLS_SHRC_SHRINIT_HELPTEXT_EXTRA_STARTUPHINTS_EQUALS.user_response=
# END NON-TRANSLATABLE

J9NLS_SHRC_SHRINIT_OPTION_INVALID_PARAM=Invalid parameter passed to option \"%s\".
J9NLS_SHRC_SHRINIT_OPTION_INVALID_PARAM=Invalid parameter passed to option \"%s\".
# START NON-TRANSLATABLE
J9NLS_SHRC_SHRINIT_OPTION_INVALID_PARAM.sample_input_1=extraStartupHints=
J9NLS_SHRC_SHRINIT_OPTION_INVALID_PARAM.explanation=An incorrect parameter has been used in the command-line option
Expand Down
1 change: 0 additions & 1 deletion runtime/shared_common/CacheMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7122,4 +7122,3 @@ SH_CacheMap::setExtraStartupHints(J9VMThread* currentThread)
CACHEMAP_TRACE1(J9SHR_VERBOSEFLAG_ENABLE_VERBOSE_DEFAULT, J9NLS_INFO, J9NLS_SHRC_CC_EXTRA_STARTUPHINTS_SET, val);
_ccHead->exitWriteMutex(currentThread, fnName);
}

2 changes: 0 additions & 2 deletions runtime/shared_common/CompositeCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6813,5 +6813,3 @@ SH_CompositeCacheImpl::setExtraStartupHints(J9VMThread* currentThread, U_32 val)
_theca->extraStartupHints = val;
Trc_SHR_CC_setExtraStartupHints_Event(currentThread, val);
}


1 change: 0 additions & 1 deletion runtime/shared_common/CompositeCacheImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,4 +585,3 @@ class SH_CompositeCacheImpl : public SH_CompositeCache, public AbstractMemoryPer
};

#endif /* !defined(COMPOSITECACHEIMPL_H_INCLUDED) */

Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@
<output type="failure" caseSensitive="no" regex="no">corrupt</output>
<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>
</test>

<test id="Test 208-c: use option extraStartupHints=0 to prevent more startup hints to be stored" timeout="600" runPath=".">
<command>$JAVA_EXE$ $currentMode$,extraStartupHints=0</command>
<output type="success" caseSensitive="yes" regex="no">JVMSHRC864I The number of additional startup hints that can be stored into the shared cache is set to 0</output>
Expand All @@ -995,7 +995,7 @@
<output type="failure" caseSensitive="no" regex="no">corrupt</output>
<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>
</test>

<test id="Test 208-e: Check no more new startup hints are stored" timeout="600" runPath=".">
<command>$JAVA_EXE$ $currentMode$,printStats=startuphint</command>
<output type="success" caseSensitive="yes" regex="yes" javaUtilPattern="yes">STARTUP HINTS KEY:</output>
Expand All @@ -1009,7 +1009,7 @@
<output type="failure" caseSensitive="no" regex="no">corrupt</output>
<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>
</test>

<test id="Test 208-f: use option extraStartupHints=32 to allow more startup hints to be stored" timeout="600" runPath=".">
<command>$JAVA_EXE$ $currentMode$,extraStartupHints=32</command>
<output type="success" caseSensitive="yes" regex="no">JVMSHRC864I The number of additional startup hints that can be stored into the shared cache is set to 32</output>
Expand Down

0 comments on commit f357721

Please sign in to comment.