Skip to content

Commit 45d2704

Browse files
committed
Support factory constructor for TR::Options
Signed-off-by: Daryl Maier <[email protected]>
1 parent 626eb53 commit 45d2704

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

runtime/compiler/control/J9Options.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3972,3 +3972,9 @@ J9::Options::resetFSD(J9JavaVM *vm, J9VMThread *vmThread, bool &doAOT)
39723972
return fsdStatusJIT;
39733973
}
39743974
#endif /* defined(J9VM_OPT_CRIU_SUPPORT) */
3975+
3976+
void
3977+
J9::Options::initialize()
3978+
{
3979+
self()->OMR::OptionsConnector::initialize();
3980+
}

runtime/compiler/control/J9Options.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ class OMR_EXTENSIBLE Options : public OMR::OptionsConnector
193193

194194
Options(TR::Options &other) : OMR::OptionsConnector(other) {}
195195

196+
/**
197+
* @brief Initialize the J9 components of the \c TR::Options object.
198+
*/
199+
void initialize();
200+
196201
enum FSDInitStatus
197202
{
198203
FSDInit_Error,

0 commit comments

Comments
 (0)