Loading rs/java/android/renderscript/RenderScript.java +1 −1 Original line number Diff line number Diff line Loading @@ -1147,7 +1147,7 @@ public class RenderScript { } mRWLock = new ReentrantReadWriteLock(); try { registerNativeAllocation.invoke(sRuntime, 4 * 1024 * 1024 * 1024); // 4MB for GC sake registerNativeAllocation.invoke(sRuntime, 4 * 1024 * 1024); // 4MB for GC sake } catch (Exception e) { Log.e(RenderScript.LOG_TAG, "Couldn't invoke registerNativeAllocation:" + e); throw new RSRuntimeException("Couldn't invoke registerNativeAllocation:" + e); Loading Loading
rs/java/android/renderscript/RenderScript.java +1 −1 Original line number Diff line number Diff line Loading @@ -1147,7 +1147,7 @@ public class RenderScript { } mRWLock = new ReentrantReadWriteLock(); try { registerNativeAllocation.invoke(sRuntime, 4 * 1024 * 1024 * 1024); // 4MB for GC sake registerNativeAllocation.invoke(sRuntime, 4 * 1024 * 1024); // 4MB for GC sake } catch (Exception e) { Log.e(RenderScript.LOG_TAG, "Couldn't invoke registerNativeAllocation:" + e); throw new RSRuntimeException("Couldn't invoke registerNativeAllocation:" + e); Loading