Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320006

Summary: [launcher] --launcher.XXMaxPermSize: isSunVM should return true for Oracle
Product: [Eclipse Project] Equinox Reporter: Andrew Niefer <aniefer>
Component: FrameworkAssignee: Andrew Niefer <aniefer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen, tjwatson
Version: unspecified   
Target Milestone: 3.7 M1   
Hardware: PC   
OS: Windows All   
Whiteboard:
Bug Depends on: 320005    
Bug Blocks:    

Description Andrew Niefer CLA 2010-07-15 11:48:12 EDT
+++ This bug was initially created as a clone of Bug #320005 +++

The --launcher.XXMaxPermSize argument applies a vm argument -XX:MaxPermSize conditionally on the vm being from Sun.

On windows, the company name from the jvm's exe/dll is checked.  We should now set the vm argument for  "Oracle" as well as "Sun Microsystems".

*nix platforms are not affected as there sun vms are detected by execing "java -version" and looking for "Java HotSpot(TM)" or "OpenJDK"
Comment 1 Andrew Niefer CLA 2010-07-15 13:01:59 EDT
Fixed in HEAD. See patch on bug 319514
Comment 2 Remy Suen CLA 2010-07-15 13:06:22 EDT
I think you guys meant 3.7M1.