JNI calls the add function of List in Java to flit back
New changes to the problem
The problem
Flash back code is as follows:
in recent applications, the need to transfer data in C to Java a structure, in this structure, there are GNSSObservation object type of List, GNSSObservation for custom structures, therefore in the jni invocation List are required for data transmission of the add function to add data into the List, but the program, when the function is called multiple times, flash back, specific code is as follows:
env – & gt; CallObjectMethod(GnssObservationList,GnssObservationListAddFunctionID,GnssObservation); Instead of running every time, the program runs for several minutes in a row, and the function is called about 40 times per second. The reason for the backout is never found, and the data that needs to be passed to Java is passed as a double array. The reason for the code flash back has not been solved, I hope you can give some suggestions on the cause of flash back.
The new change
Read More:
- 2、 Solutions to the problem of flash back in vs2017
- Solve the problem of flash back in Visual Studio 2010
- Solve the problem of flash back in VS2010
- Make DOS window wait and not flash back in VS
- Flash back of running program in Visual Studio 2017
- Visual studio 2012, a complete collection of solutions to flash back windows after running
- C language program running results flash back how to do
- The problem of flash back by pressing enter window when debugging or executing program in Visual Studio C
- Three solutions to flash back of program running result box under vs
- Tomcat — failed to start, flash back
- Coppelia sim (vrep) turns on the solution of flash back
- Flash back problem of Python running
- Solution to the flash back, error report and unexpected exit of idea MAC windows
- Solution for iPhone wechat flash back with mysterious code
- Flash back record of vs2017 installation process
- Summary of solutions to open flash back problem after Python packaging
- Solve the problem of Nacos double click flash back
- Flash back after vs compiler running, processing method
- Solution to flash back of MacBook Pro open software of M1 chip
- Solution to flash back of visual studio 2017 running program