Execution error in BroadcastReceiver

1

I'm doing test with class BroadcastReceiver , where I created a service that displays Toast every 30 seconds.

It's working, but sometimes it gives the following messages:

03-09 12:58:11.065 28571-31177/com.example.rbz.service E/StudioProfiler: JVMTI error: 15(JVMTI_ERROR_THREAD_NOT_ALIVE)

and

03-09 12:56:14.880 28571-28578/com.example.rbz.service I/zygote: Do partial code cache collection, code=29KB, data=27KB
03-09 12:56:14.880 28571-28578/com.example.rbz.service I/zygote: After code cache collection, code=29KB, data=27KB
03-09 12:56:14.880 28571-28578/com.example.rbz.service I/zygote: Increasing code cache capacity to 128KB 

Full log:

03-09 12:54:32.193 28571-28571/com.example.rbz.service I/lgg: Botão: exec broadcastreceiver
03-09 12:54:52.991 28571-28571/com.example.rbz.service I/lgg: EXECUTADO: Fri Mar 09 12:54:52 GMT-03:00 2018
03-09 12:54:53.112 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:54:53.284 28571-28571/com.example.rbz.service I/lgg: EXECUTADO: Fri Mar 09 12:54:53 GMT-03:00 2018
03-09 12:54:53.445 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:54:55.300 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:55:23.175 28571-28571/com.example.rbz.service I/lgg: EXECUTADO: Fri Mar 09 12:55:23 GMT-03:00 2018
03-09 12:55:23.267 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:55:25.184 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:56:00.212 28571-28571/com.example.rbz.service I/lgg: EXECUTADO: Fri Mar 09 12:56:00 GMT-03:00 2018
03-09 12:56:00.274 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:56:02.223 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:56:14.880 28571-28578/com.example.rbz.service I/zygote: Do partial code cache collection, code=29KB, data=27KB
03-09 12:56:14.880 28571-28578/com.example.rbz.service I/zygote: After code cache collection, code=29KB, data=27KB
03-09 12:56:14.880 28571-28578/com.example.rbz.service I/zygote: Increasing code cache capacity to 128KB
03-09 12:57:32.720 28571-28571/com.example.rbz.service I/lgg: EXECUTADO: Fri Mar 09 12:57:32 GMT-03:00 2018
03-09 12:57:32.825 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:57:34.740 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:58:02.834 28571-28571/com.example.rbz.service I/lgg: EXECUTADO: Fri Mar 09 12:58:02 GMT-03:00 2018
03-09 12:58:02.980 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:58:04.846 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:58:11.065 28571-31177/com.example.rbz.service E/StudioProfiler: JVMTI error: 15(JVMTI_ERROR_THREAD_NOT_ALIVE) 
03-09 12:58:11.065 28571-31177/com.example.rbz.service I/chatty: uid=10082(com.example.rbz.service) Binder:28571_4 identical 3 lines
03-09 12:58:11.066 28571-31177/com.example.rbz.service E/StudioProfiler: JVMTI error: 15(JVMTI_ERROR_THREAD_NOT_ALIVE) 
03-09 12:59:03.076 28571-28571/com.example.rbz.service I/lgg: EXECUTADO: Fri Mar 09 12:59:03 GMT-03:00 2018
03-09 12:59:03.194 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)
03-09 12:59:05.085 28571-28591/com.example.rbz.service D/EGL_emulation: eglMakeCurrent: 0xaae86d80: ver 2 0 (tinfo 0xb2d3b150)

Class: MyBroadcastReceiver

public class MyBroadcastReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        Log.i("lgg", "EXECUTADO: " + new Date());
        Toast.makeText(context, "TESTE OK", Toast.LENGTH_SHORT).show();
    }
}

What would be this error JVMTI error: , and the other one is only a cache warning?

    
asked by anonymous 09.03.2018 / 17:13

0 answers