On January 27th, this site will be read-only as we migrate to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,515 Users
  • 2,269,752 Discussions
  • 7,916,763 Comments

Discussions

Jrockit Illegal Memory access with build R28.3.5-9-164836-1.6.0_91-20141212-0952-linux-x86_64"

vgabriam
vgabriam Member Posts: 2
edited Jul 21, 2016 2:37PM in JRockit

Hi,

I have some problem randomly in some managed server, that crash with illegal memory access, we cannot disable optimization because degread perfomance, can anyone tell another solution? below i send the text dump. Thanks!!

StackOverFlow: 0 StackOverFlowErrors have occured

OutOfMemory  : 0 OutOfMemoryErrors have occured

C Heap       : Good; no memory allocations have failed

GC Strategy  : Mode: pausetime, with strategy: genconcon (basic strategy: genconcon)

GC Status    : OC is not running. Last finished OC was OC#4140.

             : YC is currently running. This is YC#233514.

YC Promotion : This YC has been able to promote all found objects so far

YC History   : Ran 53 YCs before OC#4136.

             : Ran 51 YCs before OC#4137.

             : Ran 51 YCs before OC#4138.

             : Ran 56 YCs before OC#4139.

             : Ran 63 YCs before OC#4140.

             : Started 7 YCs since last OC.

Heap         : 0x100000000 - 0x200000000  (Size: 4096 MB)

Compaction   : (no compaction area)

Allocation   : TLA-min: 2048, TLA-preferred: 16384 TLA-waste limit: 2048

NurseryList  : 0x1dc8cd8a8 - 0x1e92c0aa8

KeepArea     : 0x1e65b1120 - 0x1e7ebba70

KA Markers   : [ 0x1e65b1120,  0x1e7ebba70 , 0x1e92c0aa8 ]

Forbidden A  : (none)

Previous KA  : 0x1e7ebba70 - 0x1e92c0aa8

Previous FA  : (none)

CompRefs     : References are compressed, with heap base 0x0 and shift 3.

Registers (from ThreadContext: 0x7f2e94831600:

  rax = 00007f2edfe194a0   rcx = 00007f2edfe194a0

  rdx = 0000000000000000   rbx = 0000000000000015

  rsp = 00007f2e94831bb0   rbp = 00007f2e94831bd0

  rsi = 00007f2edfe6b808   rdi = 00007f2e5d260170

   r8 = 0000000000000010    r9 = 00007f2e583907b0

  r10 = 00007f2e583977a0   r11 = 00007f2e5839b508

  r12 = 0000000000000000   r13 = 00007f2edfe6b808

  r14 = 00007f2e5d260170   r15 = 0000000000000001

   cs = 0000000000000033    fs = 0000000400000000

   gs = 0004000000000000

  rip = 00007f2edf265cbd flags = 0000000000000287

Loaded modules:

(* denotes the module where the exception occured)

0000000000400000-00000000004128c3  /opt/bea/jrockit-jdk/bin/java

00007fffbbad4000-00007fffbbad49ac  /opt/bea/jrockit-jdk/bin/java

00007f2edfbc9000-00007f2edfbcaf2f  /lib64/libdl.so.2

00007f2edf9ac000-00007f2edf9c2f1f  /lib64/libpthread.so.0

00007f2edf630000-00007f2edf7a1963  /lib64/libc.so.6

00007f2edfdcd000-00007f2edfdebc07  /lib64/ld-linux-x86-64.so.2

00007f2edf04c000-00007f2edf3556fb */opt/bea/jrockit-jdk/jre/lib/amd64/jrockit/libjvm.so

00007f2edee2a000-00007f2edee4921b  /opt/bea/jrockit-jdk/jre/lib/amd64/libjrosal.so

00007f2edec1d000-00007f2edec29553  /opt/bea/jrockit-jdk/jre/lib/amd64/libjrutil.so

00007f2ede9a4000-00007f2ede9fe31f  /lib64/libm.so.6

00007f2ede79b000-00007f2ede7a22eb  /lib64/librt.so.1

00007f2eddd8a000-00007f2eddd96593  /opt/bea/jrockit-jdk/jre/lib/amd64/libjfr.so

00007f2e952f8000-00007f2e95304317  /opt/bea/jrockit-jdk/jre/lib/amd64/libverify.so

00007f2e951c9000-00007f2e951f136b  /opt/bea/jrockit-jdk/jre/lib/amd64/libjava.so

00007f2e94fb1000-00007f2e94fc5217  /lib64/libnsl.so.1

00007f2e94e26000-00007f2e94e2c5bf  /opt/bea/jrockit-jdk/jre/lib/amd64/native_threads/libhpi.so

00007f2e94936000-00007f2e94943c8b  /opt/bea/jrockit-jdk/jre/lib/amd64/libzip.so

00007f2e943cf000-00007f2e943e24ef  /opt/bea/jrockit-jdk/jre/lib/amd64/libnet.so

00007f2e94182000-00007f2e9418cea3  /lib64/libnss_files.so.2

00007f2e8fef9000-00007f2e8fefe803  /opt/bea/jrockit-jdk/jre/lib/amd64/libmanagement.so

00007f2e8fbee000-00007f2e8fbf7bcb  /opt/bea/jrockit-jdk/jre/lib/amd64/libjmapi.so

00007f2e8f925000-00007f2e8f92af9b  /opt/bea/jrockit-jdk/jre/lib/amd64/liborii.so

00007f2e8f398000-00007f2e8f3988bb  /opt/bea/jrockit-jdk/jre/lib/amd64/librmi.so

00007f2e8eb8a000-00007f2e8eb909a3  /opt/bea/jrockit-jdk/jre/lib/amd64/libnio.so

00007f2e86933000-00007f2e86935014  /opt/bea/Middleware/wlserver_12.1/server/native/linux/x86_64/libnodemanager.so

00007f2e8501f000-00007f2e85021b87  /opt/bea/Middleware/wlserver_12.1/server/native/linux/x86_64/libwlfileio3.so

00007f2e83040000-00007f2e8304468b  /lib64/libnss_dns.so.2

00007f2e82e29000-00007f2e82e3b9cf  /lib64/libresolv.so.2

00007f2e645e6000-00007f2e64678783  /opt/bea/jrockit-jdk/jre/lib/amd64/libawt.so

00007f2e644e0000-00007f2e644e499f  /opt/bea/jrockit-jdk/jre/lib/amd64/headless/libmawt.so

00007f2e58189000-00007f2e58223087  /opt/bea/jrockit-jdk/jre/lib/amd64/libfontmanager.so

00007f2e57f73000-00007f2e57fbec2b  /opt/bea/jrockit-jdk/jre/lib/amd64/libcmm.so

Stack:

(* marks the word pointed to by the stack pointer)

00007f2e94831bb0: 00007f2e94831bd0* 0000000000000015  00007f2edfe6b808  0000000000000000 

00007f2e94831bd0: 00007f2e94831c40  00007f2edf291a8f  0000000000000010  00007f2e5838f4e0 

00007f2e94831bf0: 0000000200000000  00007f2e5839db08  00007f2e58390a50  00000000df26bc82 

00007f2e94831c10: 00007f2e5839cf68  00007f2e5838fc68  0000000000000009  0000000000000025 

00007f2e94831c30: 00007f2e95436b10  0000000010000002  00007f2e94831c70  00007f2edf133c2e 

00007f2e94831c50: 00007f2e5838f4e0  00007f2e583977f8  0000000010000002  00007f2e5838f4e0 

Code:

(* marks the word pointed to by the instruction pointer)

00007f2edf265c58: 00000000801f0fff  fffef3850f01f883  c98548104e8b48ff  001f0f1574c88948 

00007f2edf265c78: ffff02840fc43949  c0854810408b48ff  481024448b49ee75  00401f0f1674c085 

00007f2edf265c98: ffff2f840fc53949  c0854810408b48ff  2f576f058b48ee75  0fc43949008b4800 

00007f2edf265cb8: 648b4dfffffec684* b8840fe5394d1024  8948c98548fffffe  0000441f0f1775ca 

00007f2edf265cd8: 0000441f0f66daeb  90d2854810528b48  001f0fd43949ca74  0000441f0f66ee75 

00007f2edf265cf8: 001f0ffffffe86e9  0000441f0f02f883  e883000000a2840f  00000000801f0f01 

Generating com/sun/net/ssl/internal/ssl/CipherSuite$BulkCipher.isAvailable(Lcom/sun/net/ssl/internal/ssl/CipherSuite$BulkCipher;)Z (NORMAL).

Directives (#1):

    strategy:quick_regalloc=0

    strategy:debug=0

    strategy:quick_misc=0

    strategy:fusion_regalloc=1

    strategy:jit_inline=1

    strategy:opt_inline=1

    strategy:callprofiling=0

    strategy:remove_redundant_store=1

    strategy:loop_peeling=1

    strategy:string_append=1

    strategy:remove_cast=1

    strategy:virtual_to_fixed=1

    strategy:string_maker=1

    strategy:expand_acopy=1

    strategy:inline_leafs=1

    strategy:pushup_cmpclass=1

    strategy:straighten=1

    strategy:sparse_constprop=1

    strategy:par_flow=1

    strategy:remove_casts=1

    strategy:dead_assignment_removal=1

    strategy:aggr_deadcode=1

    strategy:strength_reduction=1

    strategy:hoist_loopinv=1

    strategy:clean_memaccess=1

    strategy:opt_boxing=1

    strategy:push_boxops=1

    strategy:merge_boxops=1

    strategy:join_boxops=1

    strategy:copyprop_boxops=1

    strategy:explode_arraycopy=1

    strategy:opt_memset=1

    strategy:straighten_cmps=1

    strategy:straighten_ccmps=1

    strategy:remove_checks=1

    strategy:switch_conv=1

    strategy:dead_branch=1

    strategy:compact_blocks=1

    strategy:guard_acopy=1

    strategy:remove_aclear=1

    strategy:opt_divrem=1

    strategy:convert_virtual=1

    strategy:split_unlocks=1

    strategy:pair_locks=1

    strategy:lock_removal=1

    strategy:lock_copyprop=1

    strategy:lock_fusion=1

    strategy:group_getters=1

    strategy:ldst_ordering=1

    strategy:opt_prefetch=1

    strategy:inline_boxops=1

    strategy:copy_prop=1

    strategy:remove_rcmps=1

    strategy:opt_abcd=1

    strategy:remove_abc=1

    strategy:lcopy_prop=1

    strategy:gcopy_prop=1

    strategy:dead_code=1

    strategy:lcopy_rprop=1

    strategy:gcopy_rprop=1

    strategy:sign_elim=1

    strategy:lir_hints=1

    strategy:opt_fp=1

    strategy:insert_sp=1

    strategy:lir_modifystore=1

    strategy:opt_coalesce=1

    strategy:lir_peep=1

    strategy:nir_peep=1

    strategy:nir_copyprop=1

    strategy:inline_redudantstore=1

    strategy:inline_looppeel=1

    strategy:opt_prefetch_io=1

    strategy:opt_inline_rewrite=1

    strategy:repeated_constprop=1

    flags:strict_fp=0

    flags:schedule=1

    flags:trace_schedule=0

    flags:check_bounds=1

    flags:check_stacks=1

    flags:fill_delayslot=1

    flags:lazy_stacktraces=1

    flags:add_codeinfo=0

    flags:record=0

Last optimized methods:

  #10305 org/springframework/aop/target/SingletonTargetSource.getTarget()Ljava/lang/Object;  261213.950-261213.950 0x7f2e9aee66c0-0x7f2e9aee66d7 0.32 ms 256KB 

  #10306 com/sun/xml/txw2/TXW.getTagName(Ljava/lang/Class;)Ljavax/xml/namespace/QName;  261459.626-261459.675 0x7f2e9aee66e0-0x7f2e9aee74f7 48.76 ms 1792KB 

  #10307 org/primefaces/component/message/Message.getFacesContext()Ljavax/faces/context/FacesContext;  261716.316-261716.320 0x7f2e9aee7500-0x7f2e9aee76e8 4.02 ms 256KB 

  #10308 ar/com/redlink/tokenizacion/dao/impl/TarjetaDAOImpl.getTarjetaByPAN(Ljava/lang/String;)Lar/com/redlink/tokenizacion/entity/Tarjeta;  262142.764-262143.086 0x7f2e9aee7700-0x7f2e9aee97c6 321.15 ms 4352KB 

  #10309 com/sun/org/apache/xerces/internal/parsers/DOMParser.setProperty(Ljava/lang/String;Ljava/lang/Object;)V  262144.695-262144.819 0x7f2e9aee97e0-0x7f2e9aeeb95e 124.38 ms 3328KB 

  #10310 com/sun/xml/txw2/ContainerElement.commit(Z)V  262366.134-262366.327 0x7f2e9aeeb960-0x7f2e9aeee04d 192.97 ms 4608KB 

*#10311 sun/reflect/GeneratedConstructorAccessor665.newInstance([Ljava/lang/Object;)Ljava/lang/Object;  262454.502-262454.505 0x7f2e9aeee060-0x7f2e9aeee246 3.05 ms 256KB 

  #10296 org/hibernate/loader/criteria/CriteriaQueryTranslator.getColumnsUsingProjection(Lorg/hibernate/Criteria;Ljava/lang/String;)[Ljava/lang/String;  260562.721-260562.867 0x7f2e9aedd320-0x7f2e9aede15a 146.09 ms 2048KB 

  #10297 org/apache/cxf/common/logging/Log4jLogger.fromL4J(Lorg/apache/log4j/Level;)Ljava/util/logging/Level;  260568.203-260568.205 0x7f2e9aede160-0x7f2e9aede291 2.34 ms 256KB 

  #10298 java/util/AbstractList$Itr.checkForComodification()V  260756.836-260756.837 0x7f2e9aede2a0-0x7f2e9aede2e9 0.67 ms 256KB 

  #10299 com/sun/xml/bind/v2/runtime/MarshallerImpl.createWriter(Ljava/io/OutputStream;)Lcom/sun/xml/bind/v2/runtime/output/XmlOutput;  260762.406-260762.761 0x7f2e9aede300-0x7f2e9aee119f 355.68 ms 5376KB 

  #10300 weblogic/servlet/internal/ContextAttributeWrapper.getObject(ZLweblogic/servlet/internal/WebAppServletContext;)Ljava/lang/Object;  260811.611-260812.063 0x7f2e9aee11a0-0x7f2e9aee3ff0 452.06 ms 5120KB 

  #10301 sun/reflect/GeneratedConstructorAccessor522.newInstance([Ljava/lang/Object;)Ljava/lang/Object;  260840.619-260840.645 0x7f2e9aee4000-0x7f2e9aee4a01 25.89 ms 1024KB 

  #10302 com/sun/org/apache/xerces/internal/impl/dv/xs/XSSimpleTypeDecl.validateWithInfo(Ljava/lang/String;Lcom/sun/org/apache/xerces/internal/impl/dv/ValidationContext;Lcom/sun/org/apache/xerces/internal/impl/dv/ValidatedInfo;)Lcom/sun/org/apache/xerces/internal/impl/dv/ValidatedInfo;  260956.843-260956.978 0x7f2e9aee4a20-0x7f2e9aee62d0 134.86 ms 2560KB 

  #10303 org/primefaces/component/commandbutton/CommandButton.getFacesContext()Ljavax/faces/context/FacesContext;  261067.729-261067.733 0x7f2e9aee62e0-0x7f2e9aee64c8 4.13 ms 256KB 

  #10304 org/hibernate/tuple/PojoInstantiator.instantiate(Ljava/io/Serializable;)Ljava/lang/Object;  261110.718-261110.722 0x7f2e9aee64e0-0x7f2e9aee66b5 4.42 ms 256KB 

Thread:

"(Code Optimization Thread 1)" id=4 idx=0x38 tid=28914 lastJavaFrame=0xfffffffffffffffc

Stack 0: start=0x7f2e947f2000, end=0x7f2e94834000, guards=0x7f2e947f7000 (ok), forbidden=0x7f2e947f5000

Thread Stack Trace:

    at softClassGetFirstCommonSuper+429(softclass.c:255)@0x7f2edf265cbd

    at irTypesValidate+1326(typeinference.c:385)@0x7f2edf291a8f

    at irInfoGet+61(irinfo.c:143)@0x7f2edf133c2e

    at irTypesGetClass+38(typeinference.c:63)@0x7f2edf291d57

    at optSSAVirtualToFixedCalls+388(miscopt.c:932)@0x7f2edf20dea5

    at optmanOptimizeMIR+7112(optimizationmanager.c:243)@0x7f2edf222829

    at generate_stage+324(codemanager.c:339)@0x7f2edf0ba365

    at cmgrGenerateMethodFromPhase+141(codemanager.c:403)@0x7f2edf0ba49e

    at cmgrGenerateMethod+402(codemanager.c:221)@0x7f2edf0ba833

    at generate_code+1488(compilerfrontend.c:455)@0x7f2edf0d0bd1

    at cbrGenerateNormalMethod+41(compilerfrontend.c:668)@0x7f2edf0d15da

    at compileit+613(compilerbroker.c:453)@0x7f2edf0c5f46

    at compileit+338(compilerbroker.c:379)@0x7f2edf0c5e33

    at cbrCompileRequest+12(compilerbroker.c:537)@0x7f2edf0c667d

    at cg_thread+996(compilerqueue.c:234)@0x7f2edf0d2865

    at thread_stub+170(lifecycle.c:809)@0x7f2edf1cb74b

    at start_thread+229()@0x7f2edf9b3806

    -- Java stack --

Memory usage report:

Total mapped                  7256068KB           (reserved=1163600KB)

-              Java heap      4194304KB           (reserved=0KB)

-              GC tables       140300KB         

-          Thread stacks       164748KB           (#threads=594)

-          Compiled code      1048576KB           (used=82655KB)

-               Internal         1416KB         

-                     OS       511044KB         

-                  Other       616864KB         

-  Compiling isAvailable          256KB           (malloced=67KB #204)

                                                  Not tracing sites.

-            Classblocks        33792KB           (malloced=26039KB #74081)

                                                  Not tracing sites.

-        Java class data       543744KB           (malloced=431717KB #349284 in 74081 classes)

                                                  Not tracing sites.

- Native memory tracking         1024KB           (malloced=515KB #12)

                                                  Not tracing sites.

This discussion has been closed.