This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 158827 - AssertionError: Pool: Code Cache Type: Non-heap memory TresholdSupported: true
Summary: AssertionError: Pool: Code Cache Type: Non-heap memory TresholdSupported: true
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-19 14:38 UTC by sternix
Modified: 2009-11-02 11:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146527


Attachments
stacktrace (1.89 KB, text/plain)
2009-02-19 14:39 UTC, sternix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sternix 2009-02-19 14:38:56 UTC
Build: NetBeans IDE Dev (Build 200902180201)
VM: OpenJDK Client VM, 14.0-b10, Java(TM) SE Runtime Environment, 1.6.0_14-ea-b01
OS: Windows XP, 5.1, x86

User Comments:
sternix: i tested netbeans with jdk_1.6.0_14 b01
with 

netbeans_default_options="-J-client -J-Xss2m -J-XX:+UnlockExperimentalVMOptions -J-XX:+UseG1GC -J-Xmx512M -J-Xms512M -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dnetbeans.logger.console=true -J-ea -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true"

options

i get this on startup, i think this can be related with g1 gc



Stacktrace: 
java.lang.AssertionError: Pool: Code Cache Type: Non-heap memory TresholdSupported: true


        at org.netbeans.modules.gsfret.source.util.LowMemoryNotifier.initJMX(LowMemoryNotifier.java:152)
        at org.netbeans.modules.gsfret.source.util.LowMemoryNotifier.addLowMemoryListener(LowMemoryNotifier.java:105)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater.batchCompile(RepositoryUpdater.java:1944)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.updateFolder(RepositoryUpdater.java:1404)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.scanRoots(RepositoryUpdater.java:1129)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.access$1900(RepositoryUpdater.java:651)
Comment 1 sternix 2009-02-19 14:39:01 UTC
Created attachment 77160 [details]
stacktrace
Comment 2 Vitezslav Stejskal 2009-04-21 14:32:52 UTC
Most likely caused by the advanced JVM options. This is not a typical user setup.
Comment 3 Quality Engineering 2009-11-02 11:01:29 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX