JavaFX Application Heat up MacBook Pro

Tai Hu tai.hu at veroanalytics.com
Fri Mar 25 22:15:18 UTC 2016


I have a MacBook Pro 13 inch (2014 model). If I remembered correctly, it
only has an integrated GPU. There is no discreet GPU

Thanks,

Tai

On Friday, March 25, 2016, Phil Race <philip.race at oracle.com> wrote:

>
>
> See https://developer.apple.com/library/mac/qa/qa1734/_index.html
> It is mentioned in (one of) the bugs you can get to if you follow the JBS
> bug trail
>
> -phil.
>
> On 3/25/2016 2:48 PM, Tai Hu wrote:
>
>> Thanks for the info. What entry should I put into info.plist?
>>
>> Thanks
>>
>> On Friday, March 25, 2016, Kevin Rushforth <kevin.rushforth at oracle.com>
>> wrote:
>>
>> Yes, 8u77 has the FX fix for this issue:
>>>
>>> https://bugs.openjdk.java.net/browse/JDK-8132775
>>>
>>> However, due to the way Apple chose to enable this, you will need to
>>> package your application with the appropriate entry in the Info.plist
>>> file.
>>>
>>> The equivalent AWT fix --
>>> https://bugs.openjdk.java.net/browse/JDK-8041900
>>> -- is fixed in 8u92 which is scheduled to be released next month.
>>>
>>> -- Kevin
>>>
>>>
>>> Tai Hu wrote:
>>>
>>> I am on the latest 8u77.
>>>>
>>>> On Friday, March 25, 2016, Scott Palmer <swpalmer at gmail.com> wrote:
>>>>
>>>>
>>>>
>>>> What version of JavaFX are you running?
>>>>> There is a known issue, where JavaFX (and AWT/Swing) trigger activation
>>>>> of
>>>>> the discreet GPU.  I believe for FX the issue has been resolved in the
>>>>> latest version, but the equivalent AWT fix hasn't made it to a released
>>>>> version yet.
>>>>>
>>>>> Scott
>>>>>
>>>>>
>>>>>
>>>>> On Mar 25, 2016, at 4:12 PM, Tai Hu <tai.hu at veroanalytics.com
>>>>>>
>>>>>>
>>>>>> <javascript:;>> wrote:
>>>>>
>>>>>
>>>>> My JavaFX application runs fine on a Windows box with less than 10% of
>>>>>>
>>>>>>
>>>>>> CPU usage. However, if I run the same application on a MacBook Pro 13
>>>>> inch
>>>>> (Laptop monitor, no external monitor). About 30 seconds after I
>>>>> launched
>>>>> application, MacBook cooling fan will kick in and running high, just a
>>>>> few
>>>>> minutes later, laptop is too hot to put directly on your lap. Actually
>>>>> I
>>>>> tried Ensemble app, which has exactly same issue. Few minutes after
>>>>> launch,
>>>>> fan kicks in and laptop become hot. I put my application under VisualVM
>>>>> and
>>>>> also checked Mac Activity Monitor, based on the number both of them
>>>>> show
>>>>> the CPU usage is not extremely high and average out about 25% and
>>>>> sometimes
>>>>> spike to 40%. But entire machine heats up. Almost all of our Mac
>>>>> clients
>>>>> complained about this issue to us. Does anyone could shield some light
>>>>> on
>>>>> this issue?
>>>>>
>>>>>
>>>>> Thanks,
>>>>>>
>>>>>> Tai
>>>>>>
>>>>>>
>>>>>>
>


More information about the openjfx-dev mailing list