Skip to content

Commit

Permalink
Enable class sharing by default on OSX
Browse files Browse the repository at this point in the history
Closes eclipse-openj9#3333

Signed-off-by: hangshao <[email protected]>
  • Loading branch information
hangshao0 committed Dec 17, 2018
1 parent ecd80ed commit 3c92f46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 3 additions & 4 deletions runtime/oti/j9.h
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,10 @@ static const struct { \
#define J9_IS_J9CLASS_VALUETYPE(clazz) FALSE
#endif /* J9VM_OPT_VALHALLA_VALUE_TYPES */

#if defined(OPENJ9_BUILD) && !defined(OSX)
#if defined(OPENJ9_BUILD)
#define J9_SHARED_CACHE_DEFAULT_BOOT_SHARING(vm) TRUE
#else /* defined(OPENJ9_BUILD) && !defined(OSX) */
/* Temporarily disable default class sharing on OSX due to https://github.com/eclipse/openj9/issues/3333 */
#else /* defined(OPENJ9_BUILD) */
#define J9_SHARED_CACHE_DEFAULT_BOOT_SHARING(vm) FALSE
#endif /* defined(OPENJ9_BUILD) && !defined(OSX) */
#endif /* defined(OPENJ9_BUILD) */

#endif /* J9_H */
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,6 @@
-nonZeroExitWhenError \
-outputLimit 300; \
$(TEST_STATUS)</command>
<!-- temporarily disable this test on OSX, see https://github.com/eclipse/openj9/issues/3333 -->
<platformRequirements>^os.osx</platformRequirements>
<levels>
<level>sanity</level>
</levels>
Expand Down

0 comments on commit 3c92f46

Please sign in to comment.