summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-03-03 17:04:12 -0800
committerDianne Hackborn <hackbod@google.com>2015-03-06 16:42:03 -0800
commitb9a5e4ad30c9add140fd13491419ae66e947809d (patch)
tree34000ecab4b9ef4175687e1cba78456524481a0f /rs/java/android/renderscript/RenderScript.java
parenteb803aef3b0f55785624e6a51deae867c1a95e88 (diff)
Add new debug feature to automatically create heap dumps.
Not yet working, unless you turn off SELinux enforcing. We need to update SElinux to allow the system process to give apps access to /data/system/heapdump/javaheap.bin. Currently watching can only be enabled through the shell, such as: adb shell am set-watch-heap com.android.systemui 1024 The last number is the process pss size in bytes, so this is asking us to warn if it goes about 1K which will be all the time. Change-Id: I2089e5db2927afca0bf01a363c6247ee5dcb26e8
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions