You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/01/23 23:04:00 UTC

[jira] [Commented] (GEODE-7656) OOME in CoreOnlyUsesMembershipAPIArchUnitTest > cacheClassesDoNotUseMembershipInternals

    [ https://issues.apache.org/jira/browse/GEODE-7656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17022580#comment-17022580 ] 

ASF subversion and git services commented on GEODE-7656:
--------------------------------------------------------

Commit be3c3cdaa66727a6a1cccab687f908d2f842ccef in geode's branch refs/heads/feature/GEODE-7656 from Bruce Schuchardt
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=be3c3cd ]

GEODE-7656: OOME in CoreOnlyUsesMembershipAPIArchUnitTest > cacheClassesDoNotUseMembershipInternals

The ArchUnit class file importer's javadocs don't mention it but you
can't examine just a single package using a ClassFileImporter.  It
always walks the subpackages of any package you give it and includes all
of the classes found there.

I've split off the "org.apache.geode" check into its own method and have
added a custom ImportOption that uses a Pattern to reject anything in a
sub-package of org.apache.geode or in the membership package (which is
needed for the API check).  That reduced the number of classes being
examined from over 7700 to less than 300.


> OOME in CoreOnlyUsesMembershipAPIArchUnitTest > cacheClassesDoNotUseMembershipInternals
> ---------------------------------------------------------------------------------------
>
>                 Key: GEODE-7656
>                 URL: https://issues.apache.org/jira/browse/GEODE-7656
>             Project: Geode
>          Issue Type: Bug
>          Components: membership
>            Reporter: Dale Emery
>            Assignee: Bruce J Schuchardt
>            Priority: Major
>
> Out of memory exception in CI: [https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/IntegrationTestOpenJDK8/builds/1421]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)