Skip to main content

may be bug : %CPU=99% when add jsr120 && jsr205

1 reply [Last post]
tingjunzh
Offline
Joined: 2007-01-12
Points: 0

hi,

My midp was builded with optional package jsr120 and jsr205, when run any midlets the cpu utilization rate is 99%. but without these tow jsr they work ok.

My build command is :

cd $PHONEME_MR2_SRC_DIR/midp/build/linux_qte_gcc

make PCSL_OUTPUT_DIR=$PCSL_OUTPUT_DIR \ CLDC_DIST_DIR=$JVMBuildSpace/linux_i386/dist \ TOOLS_DIR=$PHONEME_MR2_SRC_DIR/tools TARGET_CPU=i386 \ USE_MULTIPLE_ISOLATES=true USE_JSR_238=true \ JSR_238_DIR=$PHONEME_MR2_SRC_DIR/jsr238 USE_MIDP_ABB=true \ MIDP_ABB_DIR=$PHONEME_MR2_SRC_DIR/midp_abb USE_JSR_120=true \ JSR_120_DIR=$PHONEME_MR2_SRC_DIR/jsr120 USE_JSR_205=true \ JSR_205_DIR=$PHONEME_MR2_SRC_DIR/jsr205 USE_JSR_229=true \ JSR_229_DIR=$PHONEME_MR2_SRC_DIR/jsr229 USE_DEBUG=true

i debug the process but get nothing, how does this being ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tingjunzh
Offline
Joined: 2007-01-12
Points: 0

hi,

i have solved this problem, in the Constructs of the WMASocket class:

readNotifier->setEnabled(true); -> readNotifier->setEnabled(false);
writeNotifier->setEnabled(true); -> writeNotifier->setEnabled(false);

may be do this will caused some problems, but it work ok now.