This repository was archived by the owner on Aug 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
This repository was archived by the owner on Aug 22, 2024. It is now read-only.
Memory leak the in LayoutPreviewBaseActivity #69
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingcodequalityCode quality and documentation.Code quality and documentation.
Milestone
Description
Details from leak canary.
In com.hossainkhan.android.constraintlayout:1.2-constraint-layout-demo-6d311c5:4.
* com.hossainkhan.android.demo.layoutpreview.LayoutPreviewBaseActivity has leaked:
* GC ROOT static android.view.ViewGroup$ViewLocationHolder.sPool
* references android.util.Pools$SynchronizedPool.mPool
* references array java.lang.Object[].[0]
* references android.view.ViewGroup$ViewLocationHolder.mRoot
* references android.widget.LinearLayout.mContext
* leaks com.hossainkhan.android.demo.layoutpreview.LayoutPreviewBaseActivity instance
* Retaining: 2.5 kB.
* Reference Key: 3b4a7023-df8e-4f54-9995-34b2fb534e6e
* Device: Google google Pixel 2 XL taimen
* Android Version: 9 API: 28 LeakCanary: 1.5.4 74837f0
* Durations: watch=5203ms, gc=124ms, heap dump=1708ms, analysis=139323ms
* Details:
* Class android.view.ViewGroup$ViewLocationHolder
| static $class$classFlags = 0
| static COMPARISON_STRATEGY_STRIPE = 1
| static $class$primitiveType = 131072
| static $class$classLoader = null
| static $class$numReferenceInstanceFields = 3
| static $class$status = -536870912
| static $class$referenceInstanceOffsets = 7
| static COMPARISON_STRATEGY_LOCATION = 2
| static $class$methods = 541401012528
| static $class$objectSize = 24
| static $class$name = null
| static $class$numReferenceStaticFields = 1
| static $class$shadow$_klass_ = java.lang.Class
| static $class$componentType = null
| static $class$objectSizeAllocFastPath = 24
| static $class$shadow$_monitor_ = 0
| static $class$dexCache = java.lang.DexCache@1890140488 (0x70a94148)
| static $class$dexClassDefIndex = 2017
| static sPool = android.util.Pools$SynchronizedPool@320447960 (0x1319a5d8)
| static $class$iFields = 541401012456
| static $class$sFields = 541401012368
| static sComparisonStrategy = 1
| static $class$copiedMethodsOffset = 12
| static $class$vtable = null
| static $classOverhead = byte[124]@317231665 (0x12e89231)
| static $class$ifTable = java.lang.Object[2]@320447936 (0x131
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcodequalityCode quality and documentation.Code quality and documentation.

