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 240147 - JDK8 ... unsupported options in launcher (MaxPermSize, PermSize)
Summary: JDK8 ... unsupported options in launcher (MaxPermSize, PermSize)
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 8.0
Hardware: PC All
: P4 normal with 2 votes (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-09 09:29 UTC by Marian Mirilovic
Modified: 2014-04-15 10:00 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2014-01-09 09:29:49 UTC
Product Version: NetBeans IDE Dev (Build 201401090002)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b65
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b122
System: Linux version 3.5.0-45-generic running on amd64; UTF-8; en_US (nb)


Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0
Comment 1 Antonin Nebuzelsky 2014-01-10 11:52:22 UTC
The warnings in log are harmless and effectively the change with JDK8 means that the previous permgen area has been replaced with the use of native memory inside JVM and the use is limited only by the amount of user's native memory.

http://mail.openjdk.java.net/pipermail/hotspot-dev/2012-September/006679.html
Comment 2 Jiri Rechtacek 2014-01-13 14:08:11 UTC
Removing these switches (i.e. -XX:PermSize=32m, -XX:MaxPermSize=384m) is too complex and might be risky if running IDE on JDK 7 without these switches, in a case of wrong detection of JDK 7 in netbeans launcher. The switches will be removed when IDE runs of JDK 8 or newer only.