Remove legacy JSC profiler

Reviewed By: bnham

Differential Revision: D5433406

fbshipit-source-id: 8cbea8b9b46a0d9f29c57a5bcf605e6bb61ed8a7
This commit is contained in:
Pieter De Baets authored and Facebook Github Bot committed 2017-07-20 04:21:16 -07:00
1 parent bf752014a9
commit ed3c018ee4
33 files changed
-1833

No files matched your search

@@ -88,10 +88,6 @@ public interface CatalystInstance
*/
void removeBridgeIdleDebugListener(NotThreadSafeBridgeIdleDebugListener listener);
boolean supportsProfiling();
void startProfiler(String title);
void stopProfiler(String title, String filename);
@VisibleForTesting
void setGlobalVariable(String propName, String jsonValue);
@@ -429,17 +429,6 @@ public class CatalystInstanceImpl implements CatalystInstance {
@Override
public native long getJavaScriptContext();
// TODO mhorowitz: add mDestroyed checks to the next three methods
@Override
public native boolean supportsProfiling();
@Override
public native void startProfiler(String title);
@Override
public native void stopProfiler(String title, String filename);
private void incrementPendingJSCalls() {
int oldPendingCalls = mPendingJSCalls.getAndIncrement();
boolean wasIdle = oldPendingCalls == 0;